{"id":21511978,"url":"https://github.com/strvcom/strv-backend-go-tea","last_synced_at":"2025-10-06T01:31:42.938Z","repository":{"id":56854965,"uuid":"505434434","full_name":"strvcom/strv-backend-go-tea","owner":"strvcom","description":"Universal set of tools to make development in Go as simple as making a cup of tea.","archived":false,"fork":false,"pushed_at":"2025-08-19T07:09:01.000Z","size":172,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-08-20T08:59:46.012Z","etag":null,"topics":["cmd","go","golang","tea","tools","util"],"latest_commit_sha":null,"homepage":"https://go.strv.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/strvcom.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","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":"2022-06-20T12:35:21.000Z","updated_at":"2024-10-15T07:51:08.000Z","dependencies_parsed_at":"2023-02-10T21:45:14.996Z","dependency_job_id":"ccdda2f0-bd0f-4d72-887f-d2de3db57d40","html_url":"https://github.com/strvcom/strv-backend-go-tea","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/strvcom/strv-backend-go-tea","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvcom%2Fstrv-backend-go-tea","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvcom%2Fstrv-backend-go-tea/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvcom%2Fstrv-backend-go-tea/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvcom%2Fstrv-backend-go-tea/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strvcom","download_url":"https://codeload.github.com/strvcom/strv-backend-go-tea/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strvcom%2Fstrv-backend-go-tea/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278547774,"owners_count":26004772,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cmd","go","golang","tea","tools","util"],"created_at":"2024-11-23T22:24:38.300Z","updated_at":"2025-10-06T01:31:42.917Z","avatar_url":"https://github.com/strvcom.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# STRV tea\n\n![Latest release][release]\n[![codecov][codecov-img]][codecov]\n![GitHub][license]\n\nUniversal set of tools to make development in Go as simple as making a cup of tea.\n\n## Installation\nThe most simple way to install tea is by Go native installation functionality. Example:\n```shell\n$ go install go.strv.io/tea/cmd/tea@${version:-latest}\n```\nVersion points to a stable [release](https://github.com/strvcom/strv-backend-go-tea/releases).\n\n## Commands\nFor detailed description of each command or global options, run the command with `-h` argument.\n\n### version\nPrints tea version and ends.\n\n#### Example\n```shell\n$ tea version\n$ 1.0.0\n```\n\n### gen\nThis command provides a set of tools for code generating.\n\nSubcommand `id` generates useful methods for serialization/deserialization of IDs within Go apps. Example:\n```shell\n$ tea gen id -i ./id.go -o ./id_gen.go\n```\n\nThis subcommand can also be used as an embedded go generator. Example:\n\nid.go:\n```go\npackage id\n\nimport (\n\t\"github.com/google/uuid\"\n)\n\n//go:generate tea gen id -i ./id.go -o ./id_gen.go\n\ntype (\n\tUser             uint64\n\tRefreshToken     uuid.UUID\n\tDeviceIdentifier string\n)\n```\nAfter triggering `go generate ./...` within an app, methods `MarshalText` and `UnmarshalText` along with other useful functions are generated.\n\n[release]: https://img.shields.io/github/v/release/strvcom/strv-backend-go-tea\n[codecov]: https://codecov.io/gh/strvcom/strv-backend-go-tea\n[codecov-img]: https://codecov.io/gh/strvcom/strv-backend-go-tea/branch/master/graph/badge.svg?token=A7QFX32CFF\n[license]: https://img.shields.io/github/license/strvcom/strv-backend-go-tea\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrvcom%2Fstrv-backend-go-tea","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrvcom%2Fstrv-backend-go-tea","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrvcom%2Fstrv-backend-go-tea/lists"}