{"id":62638,"library":"go-enry-go-enry-v2","title":"Go Enry","description":"Package enry identifies programming languages.","status":"active","version":"2.9.6","language":"go","source_language":null,"source_url":"https://github.com/go-enry/go-enry","tags":["language","detection","enry","programming"],"install":[{"cmd":"go get github.com/go-enry/go-enry/v2","lang":"bash","label":"Install github.com/go-enry/go-enry/v2"}],"dependencies":[],"imports":[{"symbol":"enry","correct":"github.com/go-enry/go-enry/v2"}],"quickstart":{"code":"package main\n\nimport (\n\t\"github.com/go-enry/go-enry/v2\"\n)\n\nfunc main() {\n\tlang := enry.GetLanguage(\"main.go\", []byte(\"package main\"))\n\t_ = lang\n}","lang":"go","description":"Detect the programming language of a file."},"warnings":[{"fix":"Use import path github.com/go-enry/go-enry/v2 and update function calls.","message":"v2 has breaking changes from v1; API differs.","severity":"breaking","affected_versions":"<2.0.0"}],"env_vars":null,"search_vec":"'detect':9 'enri':2,4,10 'go':1 'identifi':5 'languag':7,8 'packag':3 'program':6,11","created_at":"2026-06-17T16:33:49.535262+00:00","updated_at":"2026-06-17T16:33:49.535262+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/go-enry/go-enry","github":"https://github.com/go-enry/go-enry","docs":"https://pkg.go.dev/github.com/go-enry/go-enry/v2#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}