{"id":19167177,"url":"https://github.com/dyweb/gommon","last_synced_at":"2025-05-07T13:40:49.672Z","repository":{"id":57537884,"uuid":"77936446","full_name":"dyweb/gommon","owner":"dyweb","description":"A collection of common util libraries for Go","archived":false,"fork":false,"pushed_at":"2020-10-25T23:20:27.000Z","size":1235,"stargazers_count":26,"open_issues_count":29,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-06T20:51:22.707Z","etag":null,"topics":["error-handling","generator","go","logging"],"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/dyweb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-03T17:02:30.000Z","updated_at":"2024-12-14T15:34:49.000Z","dependencies_parsed_at":"2022-09-07T17:35:16.742Z","dependency_job_id":null,"html_url":"https://github.com/dyweb/gommon","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyweb%2Fgommon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyweb%2Fgommon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyweb%2Fgommon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyweb%2Fgommon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dyweb","download_url":"https://codeload.github.com/dyweb/gommon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252888873,"owners_count":21820081,"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":["error-handling","generator","go","logging"],"created_at":"2024-11-09T09:36:11.841Z","updated_at":"2025-05-07T13:40:49.641Z","avatar_url":"https://github.com/dyweb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gommon - Go common libraries\n\n\u003ch1 align=\"center\"\u003e\n\t\u003cbr\u003e\n\t\u003cimg width=\"100%\" src=\"doc/media/gommon.png\" alt=\"gommon\"\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\t\u003cbr\u003e\n\u003c/h1\u003e\n\n[![GoDoc](https://godoc.org/github.com/dyweb/gommon?status.svg)](https://godoc.org/github.com/dyweb/gommon)\n[![Build Status](https://travis-ci.org/dyweb/gommon.svg?branch=master)](https://travis-ci.org/dyweb/gommon)\n[![codecov](https://codecov.io/gh/dyweb/gommon/branch/master/graph/badge.svg)](https://codecov.io/gh/dyweb/gommon)\n[![Go Report Card](https://goreportcard.com/badge/github.com/dyweb/gommon)](https://goreportcard.com/report/github.com/dyweb/gommon)\n[![loc](https://tokei.rs/b1/github/dyweb/gommon)](https://github.com/dyweb/gommon)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdyweb%2Fgommon.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdyweb%2Fgommon?ref=badge_shield)\n\nGommon is a collection of common util libraries written in Go.\n\n- [errors](errors) error wrapping, inspection, multi error (error list), common error types\n- [log](log) per package logger with [reasonable performance](log/_benchmarks/README.md)\n- [noodle](noodle) embed static assets for web application with `.noodleignore` support\n- [generator](generator) render go template, generate methods for logger interface based on `gommon.yml`\n- [util](util) wrappers for standard libraries\n\nIt has little third party dependencies, only [go-yaml/yaml](https://github.com/go-yaml/yaml) in [util/cast](util/cast),\n[go-shellquote](github.com/kballard/go-shellquote) in [generator](generator),\nother dependencies like cobra are only for cli, see [go.mod](go.mod).\n\n## Development\n\n- requires go1.13\n- `make help`\n- [Directory layout](directory.md)\n\n## License\n\nMIT\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdyweb%2Fgommon.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdyweb%2Fgommon?ref=badge_large)\n\n## Contribution\n\nCurrently, gommon is in a very volatile state, please open issues after it becomes stable.\n\n## About\n\nGommon is inspired by many existing libraries, attribution and comparision can be found in [doc/attribution](doc/attribution.md).\n\nGommon was part of [Ayi](https://github.com/dyweb/Ayi) and split out for wider use.\nThe name Gommon is suggested by [@arrowrowe](https://github.com/arrowrowe).\nThe original blog post can be found in dongyue web's [blog](http://blog.dongyueweb.com/ayi.html).\nThanks all the folks in [@dyweb](https://github.com/dyweb)\nespecially [@gaocegege](https://github.com/gaocegege) for their support in early development.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdyweb%2Fgommon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdyweb%2Fgommon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdyweb%2Fgommon/lists"}