{"id":51076,"library":"sivchari-tenv","title":"Tenv","description":"A Go linter that checks for the use of os.Setenv instead of testing.Setenv in tests.","status":"active","version":"1.12.1","language":"go","source_language":null,"source_url":"https://github.com/sivchari/tenv","tags":["linter","testing","environment"],"install":[{"cmd":"go get github.com/sivchari/tenv","lang":"bash","label":"Install github.com/sivchari/tenv"}],"dependencies":[],"imports":[{"symbol":"tenv","correct":"github.com/sivchari/tenv"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/sivchari/tenv\"\n)\n\nfunc main() {\n\tfmt.Println(tenv.Analyzer.Name)\n}","lang":"go","description":"Prints the name of the tenv analyzer."},"warnings":[],"env_vars":null,"search_vec":"'check':6 'environ':19 'go':3 'instead':12 'linter':4,17 'os.setenv':11 'tenv':1 'test':16,18 'testing.setenv':14 'use':9","created_at":"2026-06-15T05:58:58.272986+00:00","updated_at":"2026-06-15T05:58:58.272986+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/sivchari/tenv","github":"https://github.com/sivchari/tenv","docs":"https://pkg.go.dev/github.com/sivchari/tenv#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}