{"id":24590429,"url":"https://github.com/vodolaz095/pkg","last_synced_at":"2025-03-18T01:43:21.893Z","repository":{"id":271696173,"uuid":"910474026","full_name":"vodolaz095/pkg","owner":"vodolaz095","description":"shared golang packages","archived":false,"fork":false,"pushed_at":"2025-03-17T10:09:39.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T10:30:34.574Z","etag":null,"topics":["go","golang","hoarding"],"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/vodolaz095.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":["https://www.tbank.ru/rm/ostroumov.anatoliy2/4HFzm76801/"]}},"created_at":"2024-12-31T11:21:37.000Z","updated_at":"2025-03-17T10:09:43.000Z","dependencies_parsed_at":"2025-01-16T20:43:29.962Z","dependency_job_id":null,"html_url":"https://github.com/vodolaz095/pkg","commit_stats":null,"previous_names":["vodolaz095/pkg"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vodolaz095%2Fpkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vodolaz095%2Fpkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vodolaz095%2Fpkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vodolaz095%2Fpkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vodolaz095","download_url":"https://codeload.github.com/vodolaz095/pkg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244141593,"owners_count":20404835,"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":["go","golang","hoarding"],"created_at":"2025-01-24T09:13:17.621Z","updated_at":"2025-03-18T01:43:21.883Z","avatar_url":"https://github.com/vodolaz095.png","language":"Go","funding_links":["https://www.tbank.ru/rm/ostroumov.anatoliy2/4HFzm76801/"],"categories":[],"sub_categories":[],"readme":"pkg\n=====================================\n[![Go](https://github.com/vodolaz095/pkg/actions/workflows/go.yml/badge.svg)](https://github.com/vodolaz095/pkg/actions/workflows/go.yml)\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/vodolaz095/pkg)](https://pkg.go.dev/github.com/vodolaz095/pkg?tab=doc)\n[![Go Report Card](https://goreportcard.com/badge/github.com/vodolaz095/pkg)](https://goreportcard.com/report/github.com/vodolaz095/pkg)\n\nVarious functions copy-pasted between different projects.\n\nSee example: [example.go](example%2Fexample.go)\n\ncryptorand\n=======================================\nGenerate cryptographically secure random strings with alphabet provided\n\nDocumentation: https://pkg.go.dev/github.com/vodolaz095/pkg/cryptorand\n\ndate\n=======================================\nDate and time helpers - see [moments_test.go](date%2Fmoments_test.go)\n\nDocumentation: https://pkg.go.dev/github.com/vodolaz095/pkg/date\n\n\nhealthcheck\n=======================================\nSystemd compatible healthcheck.\n\nDocumentation: https://www.freedesktop.org/software/systemd/man/latest/sd_notify.html\n\nUsage example: \nhttps://github.com/vodolaz095/stocks_broadcaster/blob/a03cf70efc1e333e959f58bd295aa2701cca37c8/main.go#L131-L160\n\nmath\n=======================================\nVarious generic mathematical functions copy-pasted between different projects.\n\nDocumentation: https://pkg.go.dev/github.com/vodolaz095/pkg/math\n\nstopper\n=======================================\nMake global application context which can be terminated by signals\n\nDocumentation: https://pkg.go.dev/github.com/vodolaz095/pkg/stopper\n\ntracing\n=======================================\nOpinionated way to configure OpenTelemetry with `jaegertracing/all-in-one` started with docker compose like this\n\n```yaml\n\nversion: \"3.11\"\n\nvolumes:\n  jaeger_temp:\n\nservices:\n  jaeger:\n    container_name: jaeger\n    image: docker.io/jaegertracing/all-in-one:1.67.0\n    volumes:\n      - jaeger_temp:/tmp\n    ports:\n      - \"16686:16686/tcp\" # webui is listening\n      - \"14268:14268/tcp\" # accepting spans in compact jaeger thrift format over http\n      - \"4318:4318/tcp\" # accepting spans in OTLP format over http\n#      - \"6831:6831/udp\" # accepting spans in compact jaeger thrift format over udp - deprecated\n\n\n```\nSee example: [example.go](example%2Fexample.go)\n\nzerologger\n=======================================\nOpinionated way to configure zerolog with sane defaults\n\nDocumentation: https://pkg.go.dev/github.com/vodolaz095/pkg/zerologger\nUsage example: [zerologger_test.go](zerologger%2Fzerologger_test.go)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvodolaz095%2Fpkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvodolaz095%2Fpkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvodolaz095%2Fpkg/lists"}