{"id":38120014,"url":"https://github.com/go-flexible/flex","last_synced_at":"2026-01-16T22:28:19.877Z","repository":{"id":47690675,"uuid":"376018212","full_name":"go-flexible/flex","owner":"go-flexible","description":"A collection of packages for building Go services.","archived":false,"fork":false,"pushed_at":"2025-10-31T16:40:07.000Z","size":58,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-31T18:22:18.062Z","etag":null,"topics":["12-factor","go","golang","golang-library","microservice"],"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/go-flexible.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-11T12:29:06.000Z","updated_at":"2025-10-31T16:40:11.000Z","dependencies_parsed_at":"2022-08-27T21:51:14.285Z","dependency_job_id":null,"html_url":"https://github.com/go-flexible/flex","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/go-flexible/flex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-flexible%2Fflex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-flexible%2Fflex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-flexible%2Fflex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-flexible%2Fflex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-flexible","download_url":"https://codeload.github.com/go-flexible/flex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-flexible%2Fflex/sbom","scorecard":{"id":431770,"data":{"date":"2025-08-11","repo":{"name":"github.com/go-flexible/flex","commit":"6eb67dd0b2c32cdfc300fead7101510576dbf7c4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Code-Review","score":0,"reason":"Found 0/22 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":"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":"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":"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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Warn: no topLevel permission defined: .github/workflows/lint.yml:1","Info: no jobLevel write permissions found"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/go-flexible/flex/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/go-flexible/flex/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/go-flexible/flex/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/go-flexible/flex/lint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lint.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/go-flexible/flex/lint.yml/main?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"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":"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":"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":"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":"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"}},{"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 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"}}]},"last_synced_at":"2025-08-19T03:32:06.852Z","repository_id":47690675,"created_at":"2025-08-19T03:32:06.852Z","updated_at":"2025-08-19T03:32:06.852Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28485325,"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":["12-factor","go","golang","golang-library","microservice"],"created_at":"2026-01-16T22:28:19.793Z","updated_at":"2026-01-16T22:28:19.855Z","avatar_url":"https://github.com/go-flexible.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flex\n\n\u003cp align=\"center\"\u003e\n        \u003cimg src=\"docs/iana-lettering.svg\" width=\"300px\"/\u003e\n        \u003cbr\u003e\n        \u003ca href=\"https://github.com/go-flexible/flex/actions/workflows/go.yml\"\u003e\n                \u003cimg src=\"https://github.com/go-flexible/flex/actions/workflows/go.yml/badge.svg?branch=develop\"\u003e\n        \u003c/a\u003e\n        \u003ca href=\"https://pkg.go.dev/github.com/go-flexible/flex\"\u003e\u003cimg src=\"https://pkg.go.dev/badge/github.com/go-flexible/flex.svg\" alt=\"Go Reference\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nA collection of packages for building Go services.\n\n## Quick Start\n\nBelow is an example for how to get running quickly.  \nThis code can be found in the examples folder.\n\n```go\npackage main\n\nimport (\n \"context\"\n \"fmt\"\n \"log\"\n \"net/http\"\n\n \"github.com/go-flexible/flex\"\n)\n\nfunc main() {\n        router := http.NewServeMux()\n        router.HandleFunc(\"/\", func(rw http.ResponseWriter, r *http.Request) {\n                fmt.Fprint(rw, \"hello, world\\n\")\n        })\n\n        srv := \u0026http.Server{\n                Addr:    \":8080\",\n                Handler: router,\n        }\n\n        flex.MustStart(\n                context.Background(),\n                NewHTTPServer(srv),\n        )\n}\n\n// TODO: this functionality should be provided by a plugin.\n// for now this is an example on how to implement our interfaces.\ntype Server struct{ *http.Server }\n\nfunc NewHTTPServer(s *http.Server) *Server {\n        return \u0026Server{Server: s}\n}\n\nfunc (s *Server) Run(_ context.Context) error {\n        log.Printf(\"serving on: http://localhost%s\\n\", s.Addr)\n        return s.ListenAndServe()\n}\n\nfunc (s *Server) Halt(ctx context.Context) error {\n        return s.Shutdown(ctx)\n}\n```\n\n## Contributors\n\nContributors listed in alphabetical order.\n\n- [Ben Cable](https://github.com/ladydascalie): Author \u0026 Maintainer\n- [Zee Philip Vieira](https://github.com/zeeraw): Author \u0026 Maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-flexible%2Fflex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-flexible%2Fflex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-flexible%2Fflex/lists"}