{"id":19569516,"url":"https://github.com/containx/go-utils","last_synced_at":"2026-06-13T11:33:38.674Z","repository":{"id":79094085,"uuid":"64604821","full_name":"ContainX/go-utils","owner":"ContainX","description":"Common utilities for logging, http, token substitution and json/yaml encoding/decoding","archived":false,"fork":false,"pushed_at":"2018-03-24T05:00:04.000Z","size":20,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-09T02:05:44.337Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ContainX.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-31T16:51:19.000Z","updated_at":"2024-02-02T08:52:00.000Z","dependencies_parsed_at":"2023-07-05T18:15:58.482Z","dependency_job_id":null,"html_url":"https://github.com/ContainX/go-utils","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainX%2Fgo-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainX%2Fgo-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainX%2Fgo-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainX%2Fgo-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ContainX","download_url":"https://codeload.github.com/ContainX/go-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240832977,"owners_count":19865026,"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":[],"created_at":"2024-11-11T06:10:14.365Z","updated_at":"2026-06-13T11:33:38.631Z","avatar_url":"https://github.com/ContainX.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Utils\n\nCommon utilities/function used within many of the ContainX projects\n\n## Packages\n\n### encoding\n\nProvides easily exchangeable JSON and YAML based encoding and decoding.\n\nObjects declared using the `json` meta value are compatible with YAML encoding/decoding.\n\n### httpclient\n\nEasy HTTP wrapper which offers simple encoding/decoding using the `encoding` package\n\n### logger\n\nExtends `logrus` offering category based loggers to allow the multi-module\nprojects to have different logger levels per category\n\n### mockrest\n\nProvides an HTTP server which serves custom responses or status codes.  We use this for testing REST clients\n\n### envsubst\n\nReplaces `${TOKEN}` values from a io.reader into a value matching the key.  \n\nProvides OOB resolver to replace tokens with environment variables. Provides the ability\nto specify a custom resolver to in-place lookups when `${TOKENS}` are found\n\n## Building\n\n```\ngo build ./...\n```\n\n**Testing:**\n```\ngo test ./...\n```\n\n## License\n\nThis software is licensed under the Apache 2 license, quoted below.\n\nCopyright 2016 ContainX / Jeremy Unruh\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not\nuse this file except in compliance with the License. You may obtain a copy of\nthe License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\nWARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\nLicense for the specific language governing permissions and limitations under\nthe License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontainx%2Fgo-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontainx%2Fgo-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontainx%2Fgo-utils/lists"}