{"id":47588067,"url":"https://github.com/koki-develop/annotate-go","last_synced_at":"2026-04-01T16:50:43.197Z","repository":{"id":345200359,"uuid":"1184889929","full_name":"koki-develop/annotate-go","owner":"koki-develop","description":"🎨 A Go library for rendering annotated source code with line numbers and labeled markers.","archived":false,"fork":false,"pushed_at":"2026-03-23T13:46:58.000Z","size":105,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-28T00:45:39.717Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koki-develop.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-18T03:03:20.000Z","updated_at":"2026-03-23T13:46:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/koki-develop/annotate-go","commit_stats":null,"previous_names":["koki-develop/annotate-go"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/koki-develop/annotate-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koki-develop%2Fannotate-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koki-develop%2Fannotate-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koki-develop%2Fannotate-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koki-develop%2Fannotate-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koki-develop","download_url":"https://codeload.github.com/koki-develop/annotate-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koki-develop%2Fannotate-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-01T16:50:42.753Z","updated_at":"2026-04-01T16:50:43.191Z","avatar_url":"https://github.com/koki-develop.png","language":"Go","readme":"# annotate-go\n\nA Go library for rendering annotated source code with line numbers and labeled markers.\n\n## Installation\n\n```sh\ngo get github.com/koki-develop/annotate-go\n```\n\n## Usage\n\n```go\nsrc := []byte(`name = \"Alice\"\nage = 30\n`)\nlabels := []annotate.Label{\n\t{Span: annotate.Span{Start: 0, End: 4}, Marker: annotate.MarkerDash, Text: \"string field\"},\n\t{Span: annotate.Span{Start: 15, End: 18}, Marker: annotate.MarkerTilde, Text: \"integer field\"},\n}\nr := annotate.New()\noutput, _ := r.Render(src, labels)\nfmt.Print(output)\n```\n\n```\n1 | name = \"Alice\"\n  | ---- string field\n2 | age = 30\n  | ~~~ integer field\n```\n\nSee [pkg.go.dev](https://pkg.go.dev/github.com/koki-develop/annotate-go) for full API documentation.\n\n## License\n\n[MIT](./LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoki-develop%2Fannotate-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoki-develop%2Fannotate-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoki-develop%2Fannotate-go/lists"}