{"id":71503,"library":"hhatto-gocloc","title":"Gocloc","description":"Counts lines of code in source files, supporting multiple languages.","status":"active","version":"0.7.0","language":"go","source_language":null,"source_url":"https://github.com/hhatto/gocloc","tags":["loc","lines-of-code","code-analysis","cli"],"install":[{"cmd":"go get github.com/hhatto/gocloc","lang":"bash","label":"Install github.com/hhatto/gocloc"}],"dependencies":[],"imports":[{"symbol":"gocloc","correct":"github.com/hhatto/gocloc"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/hhatto/gocloc\"\n)\n\nfunc main() {\n\tresult, _ := gocloc.Analyze([]string{\".\"})\n\tfmt.Println(result.Total.Lines)\n}","lang":"go","description":"Analyzes the current directory and prints total lines of code."},"warnings":[],"env_vars":null,"search_vec":"'analysi':19 'cli':20 'code':5,16,18 'code-analysi':17 'count':2 'file':8 'gocloc':1 'languag':11 'line':3,14 'lines-of-cod':13 'loc':12 'multipl':10 'sourc':7 'support':9","created_at":"2026-06-17T18:27:57.979796+00:00","updated_at":"2026-06-17T18:27:57.979796+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/hhatto/gocloc","github":"https://github.com/hhatto/gocloc","docs":"https://pkg.go.dev/github.com/hhatto/gocloc#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}}