{"id":38078271,"url":"https://github.com/eliezedeck/gobase","last_synced_at":"2026-01-16T20:46:08.035Z","repository":{"id":57581853,"uuid":"370010913","full_name":"eliezedeck/gobase","owner":"eliezedeck","description":"Opinionated set of Golang (Go) packages that are designed to make writing server apps more productive.","archived":false,"fork":false,"pushed_at":"2023-04-04T14:22:12.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-21T08:57:39.764Z","etag":null,"topics":["golang-library","opinionated","productivity","server-application"],"latest_commit_sha":null,"homepage":"","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/eliezedeck.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-23T09:30:08.000Z","updated_at":"2021-11-02T07:34:48.000Z","dependencies_parsed_at":"2024-06-20T06:58:38.732Z","dependency_job_id":"177abb8c-0a9b-41e0-b598-d33b33111043","html_url":"https://github.com/eliezedeck/gobase","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/eliezedeck/gobase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliezedeck%2Fgobase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliezedeck%2Fgobase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliezedeck%2Fgobase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliezedeck%2Fgobase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eliezedeck","download_url":"https://codeload.github.com/eliezedeck/gobase/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliezedeck%2Fgobase/sbom","scorecard":{"id":372750,"data":{"date":"2025-08-11","repo":{"name":"github.com/eliezedeck/gobase","commit":"60397b20e81edc50b4b888badb8f828b723f022a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.6,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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: MIT License: 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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: .gitpod.Dockerfile:4: pin your Docker image by updating gitpod/workspace-go:latest to gitpod/workspace-go:latest@sha256:08a7c684831db627751aa03b78179456c11497dcfa6de8d7d46a9b119fc0123a","Warn: downloadThenRun not pinned by hash: .gitpod.Dockerfile:12-16","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 downloadThenRun 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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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":0,"reason":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-1031 / GHSA-crxj-hrmp-4rwf","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2022-0969 / GHSA-69cg-p879-7622","Warn: Project is vulnerable to: GO-2023-1495 / GHSA-fxg5-wq6x-vr4w","Warn: Project is vulnerable to: GO-2022-1144 / GHSA-xrjj-mj9h-534m","Warn: Project is vulnerable to: GO-2023-1571 / GHSA-vvpx-j8f3-3w6h","Warn: Project is vulnerable to: GO-2023-1988 / GHSA-2wrh-6pvc-2jm9","Warn: Project is vulnerable to: GO-2023-2102 / GHSA-4374-p667-p6c8","Warn: Project is vulnerable to: GO-2023-2153 / GHSA-m425-mq94-257g / GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2022-1059 / GHSA-69ch-w2m2-3vjp","Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37"],"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-18T13:23:09.112Z","repository_id":57581853,"created_at":"2025-08-18T13:23:09.112Z","updated_at":"2025-08-18T13:23:09.112Z"},"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":["golang-library","opinionated","productivity","server-application"],"created_at":"2026-01-16T20:46:07.899Z","updated_at":"2026-01-16T20:46:08.020Z","avatar_url":"https://github.com/eliezedeck.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gobase\n\nThis project is a Golang library for making server apps as productive as possible. There are many packages in this\nmodule, and you are free to use only what you want.\n\n## Packages\n\nUsually, you will use the library in a Go Module context.\n\n### config\n\nTypically, configurations are taken from environment variables. This makes changes in runtime easier, for example for\ncontainerized apps (Docker, Kubernetes, ...).\n\nThe package already contains a few frequent configurations that you can use.\n\n### database/mongodb\n\n`mongodb.Access` provides a quick connect and access to MongoDB collections.\n\n### logging\n\nZap (from Uber) is the default logger used in this library. This package provides an instance called `L` which you can\nimport in any context (for example as dot package) for quick `L.Info(...)`.\n\nIf the environment variable `SEQ_URL` is set, it will be used as the URL to a SEQ instance. Consequently, logs will also\nbe sent to SEQ for your convenience. If you have a specific SEQ API Token, you can set it using `SEQ_API_TOKEN`.\n\n### logging/alert\n\nThe `alert` package allows to integrate any alerting system. It already contains a default system for sending alert to\nPushOver (Android and iOS push notifications), but you need to set the tokens before it will be functional.\n\n### http and web\n\nFunctions for dealing with HTTP requests.\n\n- `web.UploadImageToAzureBlob()` — Takes the image from the user from the HTTP request, and uploads it to Azure Blob\n  storage. If the file is of invalid size or type, and error will be immediately returned using `web.Error()`\n\n### random\n\nFor generating random stuffs, including a fast random string gen.\n\n### validation\n\nAllows you to make validation easier with the pre-built `V` and `M` for Validator and Mold instances respectively.\n\n- `ValidateJSONBody` and optionally returns a recreated bytes of the JSON from the structure\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliezedeck%2Fgobase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feliezedeck%2Fgobase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliezedeck%2Fgobase/lists"}