{"id":5400266,"name":"atomicgo.dev/assert","ecosystem":"go","description":"Package assert provides obj set of assertion functions.\nEvery assertion function returns obj boolean. This package does not integrate into the testing package automatically.\nIf you want to use this package inside unit tests, you have to check the returning boolean value and call t.Fatal() if the assertion fails.\n\nThis library is on obj very low level and does not provide any error messages. That way the assertions can also be used in production code.\n\nIf you want obj full-featured assertion framework for unit tests, we recommend https://github.com/MarvinJWendt/testza","homepage":"https://github.com/atomicgo/assert","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":null,"keywords_array":[],"namespace":"atomicgo.dev","versions_count":2,"first_release_published_at":"2022-10-09T03:56:00.000Z","latest_release_published_at":"2022-10-09T21:43:18.000Z","latest_release_number":"v0.0.2","last_synced_at":"2026-05-23T08:01:38.116Z","created_at":"2022-11-08T03:11:00.291Z","updated_at":"2026-05-23T08:02:05.439Z","registry_url":"https://pkg.go.dev/atomicgo.dev/assert","install_command":"go get atomicgo.dev/assert","documentation_url":"https://pkg.go.dev/atomicgo.dev/assert#section-documentation","metadata":{},"repo_metadata":{"id":61081512,"uuid":"548150875","full_name":"atomicgo/assert","owner":"atomicgo","description":"✅ Go package with tons of assertions!","archived":false,"fork":false,"pushed_at":"2026-05-06T21:26:06.000Z","size":85,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-06T23:32:23.167Z","etag":null,"topics":["assert","assertion","atomicgo","go","golang","golang-library","testing","testing-library"],"latest_commit_sha":null,"homepage":"https://atomicgo.dev","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/atomicgo.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["MarvinJWendt"]}},"created_at":"2022-10-09T02:20:36.000Z","updated_at":"2026-05-06T21:26:10.000Z","dependencies_parsed_at":"2023-02-08T20:31:13.704Z","dependency_job_id":"6609106d-855b-46ae-bd16-db301500a2a1","html_url":"https://github.com/atomicgo/assert","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"edbd3858ebcddf07c66f5d14131b1c2e9e73df45"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":"atomicgo/template","purl":"pkg:github/atomicgo/assert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicgo%2Fassert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicgo%2Fassert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicgo%2Fassert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicgo%2Fassert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomicgo","download_url":"https://codeload.github.com/atomicgo/assert/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicgo%2Fassert/sbom","scorecard":{"id":215178,"data":{"date":"2025-08-11","repo":{"name":"github.com/atomicgo/assert","commit":"3a80b1da4aa3c67c7d570b4d9be8b196259115b2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: topLevel 'contents' permission set to 'write': .github/workflows/atomicgo.yml:19","Warn: topLevel 'packages' permission set to 'write': .github/workflows/atomicgo.yml:20","Warn: no topLevel permission defined: .github/workflows/go.yml:1","Warn: no topLevel permission defined: .github/workflows/lint.yml:1","Warn: no topLevel permission defined: .github/workflows/tweet-release.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":"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":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/atomicgo.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/atomicgo/assert/atomicgo.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/atomicgo.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/atomicgo/assert/atomicgo.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/atomicgo.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/atomicgo/assert/atomicgo.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/atomicgo.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/atomicgo/assert/atomicgo.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/atomicgo.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/atomicgo/assert/atomicgo.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/atomicgo.yml:170: update your workflow using https://app.stepsecurity.io/secureworkflow/atomicgo/assert/atomicgo.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/atomicgo.yml:178: update your workflow using https://app.stepsecurity.io/secureworkflow/atomicgo/assert/atomicgo.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/atomicgo/assert/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/atomicgo/assert/go.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/go.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/atomicgo/assert/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/atomicgo/assert/lint.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/atomicgo/assert/lint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lint.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/atomicgo/assert/lint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tweet-release.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/atomicgo/assert/tweet-release.yml/main?enable=pin","Warn: goCommand not pinned by hash: .github/workflows/atomicgo.yml:77","Warn: goCommand not pinned by hash: .github/workflows/atomicgo.yml:78","Warn: goCommand not pinned by hash: .github/workflows/atomicgo.yml:79","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party GitHubAction dependencies pinned","Info:   2 out of   5 goCommand 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: 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":"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":"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":"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-17T01:31:39.705Z","repository_id":61081512,"created_at":"2025-08-17T01:31:39.705Z","updated_at":"2025-08-17T01:31:39.705Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33387656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T04:15:53.637Z","status":"ssl_error","status_checked_at":"2026-05-23T04:15:53.242Z","response_time":53,"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"},"owner_record":{"login":"atomicgo","name":"AtomicGo","uuid":"75069118","kind":"organization","description":"✨ Small Golang libraries to make developers life easier!","email":null,"website":"https://atomicgo.dev","location":"GoLand","twitter":"AtomicGolang","company":null,"icon_url":"https://avatars.githubusercontent.com/u/75069118?v=4","repositories_count":12,"last_synced_at":"2023-03-06T21:38:15.117Z","metadata":{"has_sponsors_listing":false,"funding":{"github":["MarvinJWendt"]}},"html_url":"https://github.com/atomicgo","funding_links":["https://github.com/sponsors/MarvinJWendt"],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-16T22:01:56.184Z","updated_at":"2023-03-06T21:38:15.275Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomicgo","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomicgo/repositories"},"tags":[{"name":"v0.0.2","sha":"6053d09f5dd4800ccdb6b218ef9140061defb047","kind":"commit","published_at":"2022-10-09T21:43:18.000Z","download_url":"https://codeload.github.com/atomicgo/assert/tar.gz/v0.0.2","html_url":"https://github.com/atomicgo/assert/releases/tag/v0.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/atomicgo/assert@v0.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicgo%2Fassert/tags/v0.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicgo%2Fassert/tags/v0.0.2/manifests"},{"name":"v0.0.1","sha":"8a55f0dc3768e8bcc9803f29d194739fdb6594a3","kind":"commit","published_at":"2022-10-09T03:56:00.000Z","download_url":"https://codeload.github.com/atomicgo/assert/tar.gz/v0.0.1","html_url":"https://github.com/atomicgo/assert/releases/tag/v0.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/atomicgo/assert@v0.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicgo%2Fassert/tags/v0.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicgo%2Fassert/tags/v0.0.1/manifests"}]},"repo_metadata_updated_at":"2026-05-23T08:02:05.439Z","dependent_packages_count":31,"downloads":null,"downloads_period":null,"dependent_repos_count":49,"rankings":{"downloads":null,"dependent_repos_count":0.8143741595164021,"dependent_packages_count":0.978090100843012,"stargazers_count":14.658634739221032,"forks_count":18.880903912260273,"docker_downloads_count":null,"average":8.83300072796018},"purl":"pkg:golang/atomicgo.dev/assert","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/atomicgo.dev/assert","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/atomicgo.dev/assert","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/atomicgo.dev/assert/dependencies","status":null,"funding_links":["https://github.com/sponsors/MarvinJWendt"],"critical":null,"issue_metadata":{"last_synced_at":"2025-04-15T13:56:38.453Z","issues_count":5,"pull_requests_count":0,"avg_time_to_close_issue":50322645.0,"avg_time_to_close_pull_request":null,"issues_closed_count":1,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":1,"avg_comments_per_issue":0.2,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicgo%2Fassert/issues","maintainers":[{"login":"MarvinJWendt","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/MarvinJWendt"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/atomicgo.dev%2Fassert/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/atomicgo.dev%2Fassert/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/atomicgo.dev%2Fassert/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/atomicgo.dev%2Fassert/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/atomicgo.dev%2Fassert/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/atomicgo.dev%2Fassert/codemeta","maintainers":[]}