{"id":31120942,"url":"https://github.com/terrextech/go-commonutils","last_synced_at":"2025-09-17T15:10:42.014Z","repository":{"id":57529703,"uuid":"144728713","full_name":"TerrexTech/go-commonutils","owner":"TerrexTech","description":"A set of convenient utilities.","archived":false,"fork":false,"pushed_at":"2018-10-14T16:13:43.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T06:09:19.903Z","etag":null,"topics":["go","golang","utility-library"],"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/TerrexTech.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-08-14T14:05:28.000Z","updated_at":"2024-06-20T06:09:19.904Z","dependencies_parsed_at":"2022-08-26T02:42:41.684Z","dependency_job_id":null,"html_url":"https://github.com/TerrexTech/go-commonutils","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/TerrexTech/go-commonutils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerrexTech%2Fgo-commonutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerrexTech%2Fgo-commonutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerrexTech%2Fgo-commonutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerrexTech%2Fgo-commonutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TerrexTech","download_url":"https://codeload.github.com/TerrexTech/go-commonutils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerrexTech%2Fgo-commonutils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275615301,"owners_count":25496811,"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-09-17T02:00:09.119Z","response_time":84,"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":["go","golang","utility-library"],"created_at":"2025-09-17T15:10:40.881Z","updated_at":"2025-09-17T15:10:42.007Z","avatar_url":"https://github.com/TerrexTech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Common-Utils Go-Package\n-----\n\nThis package provides some convenience utilities. New utilities will be added as required.\n\n**[Go Docs][0]**.\n\n### Current Utilities:\n\n* **env**\n  * [ValidateEnv][8]\n\n* **errors**\n  * [ErrorStackTrace][7]\n\n* **float64**\n  * [AssertInt64][9]\n\n* **int64**\n  * [AssertInt64][10]\n\n* **slices**\n  * [AreElementsInSlice][1]\n  * [AreElementsInSliceStrict][2]\n  * [IndexInSlice][3]\n  * [IsElementInSlice][4]\n\n* **strings**\n  * [ParseHosts][5]\n  * [StandardizeSpaces][6]\n\n  [0]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil\n  [1]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#AreElementsInSlice\n  [2]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#AreElementsInSliceStrict\n  [3]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#IndexInSlice\n  [4]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#IsElementInSlice\n  [5]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#ParseHosts\n  [6]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#StandardizeSpaces\n  [7]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#ErrorStackTrace\n  [8]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#ValidateEnv\n  [9]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#AssertFloat64\n  [10]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#AssertInt64\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrextech%2Fgo-commonutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterrextech%2Fgo-commonutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrextech%2Fgo-commonutils/lists"}