{"id":20355198,"url":"https://github.com/utahta/go-atomicbool","last_synced_at":"2025-06-17T09:07:45.426Z","repository":{"id":57564129,"uuid":"72261371","full_name":"utahta/go-atomicbool","owner":"utahta","description":"Atomic boolean for Go","archived":false,"fork":false,"pushed_at":"2016-10-29T02:57:45.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T17:37:13.244Z","etag":null,"topics":["atomicbool","go"],"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/utahta.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":"2016-10-29T02:54:55.000Z","updated_at":"2020-10-19T02:29:40.000Z","dependencies_parsed_at":"2022-09-16T13:46:16.220Z","dependency_job_id":null,"html_url":"https://github.com/utahta/go-atomicbool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/utahta/go-atomicbool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utahta%2Fgo-atomicbool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utahta%2Fgo-atomicbool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utahta%2Fgo-atomicbool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utahta%2Fgo-atomicbool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/utahta","download_url":"https://codeload.github.com/utahta/go-atomicbool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utahta%2Fgo-atomicbool/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260326701,"owners_count":22992383,"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","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":["atomicbool","go"],"created_at":"2024-11-14T23:11:38.537Z","updated_at":"2025-06-17T09:07:45.406Z","avatar_url":"https://github.com/utahta.png","language":"Go","readme":"# Atomic Bool\n\n[![Build Status](https://travis-ci.org/utahta/go-atomicbool.svg?branch=master)](https://travis-ci.org/utahta/go-atomicbool)\n\n## Installing\n\n```\n$ go get -u github.com/utahta/go-atomicbool\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/utahta/go-atomicbool\"\n)\n\nfunc main() {\n\tb := atomicbool.New(false)\n\n\tif b.Disabled() {\n\t\tfmt.Println(\"disabled\")\n\t}\n\n\tb.Set(true)\n\n\tif b.Enabled() {\n\t\tfmt.Println(\"enabled\")\n\t}\n}\n```\n\n## Contributing\n\n1. Fork it ( https://github.com/utahta/go-atomicbool/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futahta%2Fgo-atomicbool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Futahta%2Fgo-atomicbool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futahta%2Fgo-atomicbool/lists"}