{"id":36601432,"url":"https://github.com/unlaunch/go-sdk","last_synced_at":"2026-01-12T08:38:44.945Z","repository":{"id":53294071,"uuid":"324287421","full_name":"unlaunch/go-sdk","owner":"unlaunch","description":"Go SDK for accessing Unlaunch Feature Flags","archived":false,"fork":false,"pushed_at":"2021-03-31T19:46:53.000Z","size":188,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2023-07-31T20:48:54.591Z","etag":null,"topics":["engineering-teams","feature-flags","feature-toggles","sdk","unlaunch"],"latest_commit_sha":null,"homepage":"https://unlaunch.io","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/unlaunch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-25T04:30:44.000Z","updated_at":"2021-08-29T15:57:55.000Z","dependencies_parsed_at":"2022-08-19T19:20:45.246Z","dependency_job_id":null,"html_url":"https://github.com/unlaunch/go-sdk","commit_stats":null,"previous_names":[],"tags_count":3,"template":null,"template_full_name":null,"purl":"pkg:github/unlaunch/go-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlaunch%2Fgo-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlaunch%2Fgo-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlaunch%2Fgo-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlaunch%2Fgo-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unlaunch","download_url":"https://codeload.github.com/unlaunch/go-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlaunch%2Fgo-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["engineering-teams","feature-flags","feature-toggles","sdk","unlaunch"],"created_at":"2026-01-12T08:38:44.172Z","updated_at":"2026-01-12T08:38:44.940Z","avatar_url":"https://github.com/unlaunch.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unlaunch Go SDK\n\n| main                                                                                                                | development                                                                                                                | Go Report Card |\n|---------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|----------------|\n| [![Build Status](https://travis-ci.com/unlaunch/go-sdk.svg?branch=main)](https://travis-ci.com/unlaunch/go-sdk)| [![Build Status](https://travis-ci.com/unlaunch/go-sdk.svg?branch=development)](https://travis-ci.com/unlaunch/go-sdk) | [![Go Report Card](https://goreportcard.com/badge/github.com/unlaunch/go-sdk)](https://goreportcard.com/report/github.com/unlaunch/go-sdk) |\n\n## Overview\nThe Unlaunch Go SDK provides a Go API to access Unlaunch feature flags and other features. \nUsing the SDK, you can easily build Java applications that can evaluate feature flags, dynamic configurations, and more.\n\n### Important Links\n\n- To create feature flags to use with Java SDK, login to your Unlaunch Console at [https://app.unlaunch.io](https://app.unlaunch.io)\n- [Official Guide](https://docs.unlaunch.io/docs/sdks/go-sdk)\n- [Documentation](https://pkg.go.dev/github.com/unlaunch/go-sdk#section-documentation)\n- [Example Project](https://github.com/unlaunch/hello-go)\n\n## Getting Started\nHere is a simple example.\n\nRun `go get github.com/unlaunch/go-sdk` add it to your `go.mod` file.\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"time\"\n\t\"github.com/unlaunch/go-sdk/unlaunchio/client\"\n)\n\nfunc main() {\n\tconfig := client.DefaultConfig()\n\tfactory, err := client.NewUnlaunchClientFactory(\"YOUR_SERVER_KEY\", config)\n\n\tif err != nil {\n\t\tfmt.Printf(\"Error initializing Unlaunch client %s\\n\", err)\n\t\treturn\n\t}\n\n\tunlaunchClient := factory.Client()\n\tif err = unlaunchClient.AwaitUntilReady(3 * time.Second); err != nil {\n\t\tfmt.Printf(\"Unlaunch Client wasn't ready %s\\n\", err)\n\t}\n\n\tvariation := unlaunchClient.Variation(\"FLAG_KEY\", \"USER_ID_123\", nil)\n\n\tif variation == \"on\" {\n\t\t// show feature\n\t} else {\n\t\t// don't show feature\n\t}\n}\n```\n### Offline Mode\n\nYou can start the SDK in offline mode for testing purposes. In offline mode, flags aren't downloaded from the server and no data is sent. All calls to `Variation` or its variants will return `control`. Read more in the [official guide](https://docs.unlaunch.io/docs/sdks/go-sdk#offline-mode).\n\nTo set offline mode :\n```\nconfig := client.DefaultConfig()\nconfig.OfflineMode = true\n```\n\n## Build Instructions\n\nTo run all tests\n\n```shell\ngo test ./...\n```\n\n## How to Publish\nCreate a new tag on GitHub in the following format vx.y.z e.g. v0.0.1\n\n## Submitting issues\nIf you run into any problems, bugs, or have any questions or feedback, please report them using the [issues feature](https://github.com/unlaunch/go-sdk/issues). We'll respond to all issues usually within 24 to 48 hours.\n\n## Contributing\nPlease see [CONTRIBUTING](CONTRIBUTING.md) to find how you can contribute.\n\n## License\nLicensed under the Apache License, Version 2.0. See: [Apache License](LICENSE.md).\n\n## About Unlaunch\nUnlaunch is a Feature Release Platform for engineering teams. Our mission is allow engineering teams of all\nsizes to release features safely and quickly to delight their customers. To learn more about Unlaunch, please visit\n[unlaunch.io](https://unlaunch.io). You can sign up to get started for free at [https://app.unlaunch.io/signup](https://app.unlaunch.io/signup).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlaunch%2Fgo-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funlaunch%2Fgo-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlaunch%2Fgo-sdk/lists"}