{"id":26677904,"url":"https://github.com/lestoni/go-logtick","last_synced_at":"2026-04-28T15:39:42.742Z","repository":{"id":57517996,"uuid":"158656985","full_name":"lestoni/go-logtick","owner":"lestoni","description":"git log output parser","archived":false,"fork":false,"pushed_at":"2018-12-15T09:44:57.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T18:03:22.505Z","etag":null,"topics":["git","gitlog","log","parser"],"latest_commit_sha":null,"homepage":null,"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/lestoni.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-22T07:10:31.000Z","updated_at":"2023-02-02T20:35:13.000Z","dependencies_parsed_at":"2022-09-26T18:01:34.980Z","dependency_job_id":null,"html_url":"https://github.com/lestoni/go-logtick","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lestoni/go-logtick","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lestoni%2Fgo-logtick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lestoni%2Fgo-logtick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lestoni%2Fgo-logtick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lestoni%2Fgo-logtick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lestoni","download_url":"https://codeload.github.com/lestoni/go-logtick/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lestoni%2Fgo-logtick/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262018676,"owners_count":23245618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["git","gitlog","log","parser"],"created_at":"2025-03-26T05:14:19.219Z","updated_at":"2026-04-28T15:39:37.703Z","avatar_url":"https://github.com/lestoni.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# logtick\n\n[![GoDoc](https://godoc.org/github.com/lestoni/go-logtick?status.svg)](https://godoc.org/github.com/lestoni/go-logtick)   [![Go Report Card](https://goreportcard.com/badge/github.com/lestoni/go-logtick)](https://goreportcard.com/report/github.com/lestoni/go-logtick)\n\nParse a `git log -1 -p --stat --pretty=fuller` .I Find it the log output simple and detailed enough.\n\nOriginally created for [go-logtick-http](https://github.com/lestoni/go-logtick-http)\n\n\n## Install\n\n```sh\n  $ go get github.com/lestoni/go-logtick\n```\n\n## Usage\n\n\n```\n  func main(){\n    log, err := ioutil.ReadFile(\"testdata/git.log\")\n    if err != nil {\n      panic(err)\n    }\n\n    content := fmt.Sprintf(\"%s\", log)\n\n    output, err := logtick.Parse(content)\n    if err != nil {\n      panic(err)\n    }\n\n    out, err := output.ToJSON()\n    if err != nil {\n      panic(err)\n    }\n\n    fmt.Printf(\"%+v\", output)\n  }\n```\n\n## Testing\n\nTest with Code Coverage\n\n```\n $ go test -cover\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flestoni%2Fgo-logtick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flestoni%2Fgo-logtick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flestoni%2Fgo-logtick/lists"}