{"id":15399459,"url":"https://github.com/chai2010/assert","last_synced_at":"2025-10-10T02:50:09.593Z","repository":{"id":20927067,"uuid":"24215174","full_name":"chai2010/assert","owner":"chai2010","description":"Assert for Go1.9+","archived":false,"fork":false,"pushed_at":"2020-07-05T09:48:03.000Z","size":40,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-04T18:48:38.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://godoc.org/github.com/chai2010/assert","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chai2010.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}},"created_at":"2014-09-19T03:46:03.000Z","updated_at":"2020-07-05T09:48:05.000Z","dependencies_parsed_at":"2022-08-26T19:10:11.374Z","dependency_job_id":null,"html_url":"https://github.com/chai2010/assert","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/chai2010/assert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chai2010%2Fassert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chai2010%2Fassert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chai2010%2Fassert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chai2010%2Fassert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chai2010","download_url":"https://codeload.github.com/chai2010/assert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chai2010%2Fassert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002551,"owners_count":26083403,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-01T15:48:57.708Z","updated_at":"2025-10-10T02:50:09.564Z","avatar_url":"https://github.com/chai2010.png","language":"Go","readme":"- *Go语言QQ群: 102319854, 1055927514*\n- *凹语言(凹读音“Wa”)(The Wa Programming Language): https://github.com/wa-lang/wa*\n\n----\n\n# Assert for Go testing\n\n[![Build Status](https://travis-ci.org/chai2010/assert.svg)](https://travis-ci.org/chai2010/assert)\n[![Go Report Card](https://goreportcard.com/badge/github.com/chai2010/assert)](https://goreportcard.com/report/github.com/chai2010/assert)\n[![GoDoc](https://godoc.org/github.com/chai2010/assert?status.svg)](https://godoc.org/github.com/chai2010/assert)\n\n## Install\n\n1. `go get -u github.com/chai2010/assert`\n2. `go test`\n\n## Example\n\n```Go\npackage somepkg_test\n\nimport (\n\t. \"github.com/chai2010/assert\"\n)\n\nfunc TestAssert(t *testing.T) {\n\tAssert(t, 1 == 1)\n\tAssert(t, 1 == 1, \"message1\", \"message2\")\n}\n\nfunc TestAssertf(t *testing.T) {\n\tAssertf(t, 1 == 1, \"%v:%v\", \"message1\", \"message2\")\n}\n```\n\n## BUGS\n\nReport bugs to \u003cchaishushan@gmail.com\u003e.\n\nThanks!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchai2010%2Fassert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchai2010%2Fassert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchai2010%2Fassert/lists"}