{"id":24083341,"url":"https://github.com/mitranim/gg","last_synced_at":"2025-04-30T18:23:20.353Z","repository":{"id":42523862,"uuid":"476630076","full_name":"mitranim/gg","owner":"mitranim","description":"Essential utilities missing from the Go standard library.","archived":false,"fork":false,"pushed_at":"2025-02-27T12:28:02.000Z","size":403,"stargazers_count":25,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-26T06:56:56.612Z","etag":null,"topics":["generics","go","golang","stdlib","stdlib-extras"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/mitranim/gg","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mitranim.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-04-01T08:06:02.000Z","updated_at":"2025-03-03T11:09:50.000Z","dependencies_parsed_at":"2024-03-30T15:24:50.756Z","dependency_job_id":"4e606b44-179b-4c49-9f65-3f8356e37dca","html_url":"https://github.com/mitranim/gg","commit_stats":null,"previous_names":[],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitranim%2Fgg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitranim%2Fgg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitranim%2Fgg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitranim%2Fgg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitranim","download_url":"https://codeload.github.com/mitranim/gg/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251758747,"owners_count":21639100,"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":["generics","go","golang","stdlib","stdlib-extras"],"created_at":"2025-01-09T23:56:25.959Z","updated_at":"2025-04-30T18:23:20.334Z","avatar_url":"https://github.com/mitranim.png","language":"Go","readme":"## Overview\n\nEssential utilities missing from the Go standard library.\n\nDocs: https://pkg.go.dev/github.com/mitranim/gg\n\nSome features:\n\n  * Designed for Go 1.18. Takes massive advantage of generics.\n  * Errors with stack traces.\n  * Checked math.\n  * Various functional programming utilities: map, filter, fold, and more.\n  * Various shortcuts for reflection.\n  * Various shortcuts for manipulating slices.\n  * Various shortcuts for manipulating maps.\n  * Various shortcuts for manipulating strings.\n  * Common-sense generic data types: zero optionals, true optionals, sets, indexed collections, and more.\n  * Various utilities for exception-style error handling, using `panic` and `recover`.\n  * CLI flag parsing.\n  * Various utilities for testing.\n    * Assertion shortcuts with descriptive errors and full stack traces.\n  * Carefully designed for compatibility with standard interfaces and interfaces commonly supported by 3rd parties.\n  * No over-modularization.\n  * No external dependencies.\n\nSubmodules:\n\n* `gtest`: testing and assertion tools.\n* `grepr`: tools for printing Go data structures as Go code.\n* `gsql`: SQL tools:\n  * Support for scanning SQL rows into Go structs.\n  * Support for SQL arrays.\n\nCurrent limitations:\n\n  * Not fully documented.\n\n## License\n\nhttps://unlicense.org\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitranim%2Fgg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitranim%2Fgg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitranim%2Fgg/lists"}