{"id":51938,"library":"shurcool-highlight-go","title":"Highlight Go","description":"Package highlight_go provides a syntax highlighter for Go source code using go/scanner.","status":"active","version":"0.0.0-20230708025100-33e05792540a","language":"go","source_language":null,"source_url":"https://github.com/shurcooL/highlight_go","tags":["syntax","highlight","go","scanner"],"install":[{"cmd":"go get github.com/shurcooL/highlight_go","lang":"bash","label":"Install github.com/shurcooL/highlight_go"}],"dependencies":[],"imports":[{"symbol":"highlight_go","correct":"github.com/shurcooL/highlight_go"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/shurcooL/highlight_go\"\n)\n\nfunc main() {\n\thighlighted := highlight_go.Highlight(\"package main\\nfunc main() {}\\n\")\n\tfmt.Println(highlighted)\n}","lang":"go","description":"Highlights Go source code and returns HTML."},"warnings":[],"env_vars":null,"search_vec":"'code':13 'go':2,5,11,18 'go/scanner':15 'highlight':1,4,9,17 'packag':3 'provid':6 'scanner':19 'sourc':12 'syntax':8,16 'use':14","created_at":"2026-06-15T06:35:23.060113+00:00","updated_at":"2026-06-15T06:35:23.060113+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/shurcooL/highlight_go","github":"https://github.com/shurcooL/highlight_go","docs":"https://pkg.go.dev/github.com/shurcooL/highlight_go#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-15","next_check":"2026-12-12","install_tag":null}}