{"id":38078297,"url":"https://github.com/tfcloud-go/config","last_synced_at":"2026-01-16T20:46:09.816Z","repository":{"id":48685539,"uuid":"369231566","full_name":"tfcloud-go/config","owner":"tfcloud-go","description":"Go package for config. Inspired by OpenStack oslo.config library.","archived":false,"fork":false,"pushed_at":"2023-06-20T01:20:55.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-23T21:16:21.809Z","etag":null,"topics":["configuration","go","ini-config","openstack","oslo","tfcloud"],"latest_commit_sha":null,"homepage":"","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/tfcloud-go.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":"2021-05-20T14:13:06.000Z","updated_at":"2023-06-20T01:11:39.000Z","dependencies_parsed_at":"2024-06-20T07:00:28.407Z","dependency_job_id":"501c5eef-4e5f-4ca0-bf57-7ef56fe5960b","html_url":"https://github.com/tfcloud-go/config","commit_stats":null,"previous_names":["tfcloud-go/oslo-config"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/tfcloud-go/config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfcloud-go%2Fconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfcloud-go%2Fconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfcloud-go%2Fconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfcloud-go%2Fconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tfcloud-go","download_url":"https://codeload.github.com/tfcloud-go/config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tfcloud-go%2Fconfig/sbom","scorecard":{"id":875805,"data":{"date":"2025-08-11","repo":{"name":"github.com/tfcloud-go/config","commit":"926318bd20c870d3778cec73106b4d93bf645d4e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/11 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T05:56:44.906Z","repository_id":48685539,"created_at":"2025-08-24T05:56:44.907Z","updated_at":"2025-08-24T05:56:44.907Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28482306,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["configuration","go","ini-config","openstack","oslo","tfcloud"],"created_at":"2026-01-16T20:46:09.607Z","updated_at":"2026-01-16T20:46:09.791Z","avatar_url":"https://github.com/tfcloud-go.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TFCloud Go Config\n\nGo package for config. Inspired by OpenStack [oslo.config](https://opendev.org/openstack/oslo.config) library.\n\n## Usage\n\nInstall package\n\n```shell\ngo get github.com/tfcloud-go/config\n```\n\nRegister configurations\n\n```go\n// conf/server.go\n\npackage conf\n\n// ...\n\nvar CONF = config.CONF\n\nfunc init() {\n\tgroup := config.NewOptGroup(\"server\")\n\tCONF.RegisterGroup(group)\n\n\thost := config.NewStrOpt(\"host\").WithDefault(\"127.0.0.1\")\n\tport := config.NewIntOpt(\"port\").WithDefault(8080)\n\tCONF.RegisterOpts(group, host, port)\n}\n```\n\nParse configurations\n\n```go\n// main.go\n\npackage main\n\n// ...\n\nvar CONF = config.CONF\n\nfunc main() {\n\t// ...\n\n\tCONF.ParseFile(\"your_config_file_name.conf\")\n\n\t// ...\n}\n\n```\n\nGet configuration value\n\n```go\n// foo/server.go\n\npackage foo\n\n// ...\n\nvar CONF = config.CONF\n\nfunc startServer() {\n\thost := CONF.GetString(\"server\", \"host\")\n\tport, _ := CONF.GetInt(\"server\", \"port\")\n\taddr := net.JoinHostPort(host, port)\n\n\t// ...\n}\n```\n\nUse configuration file\n\n```shell\nfoo-server --config your_config_file_name.conf\n```\n\n## Copyright\n\nThe TFCloud Go Team. [Apache License 2.0](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfcloud-go%2Fconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftfcloud-go%2Fconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftfcloud-go%2Fconfig/lists"}