{"id":37157420,"url":"https://github.com/keygen-sh/example-go-license-validation","last_synced_at":"2026-01-14T18:46:37.274Z","repository":{"id":92546848,"uuid":"345758236","full_name":"keygen-sh/example-go-license-validation","owner":"keygen-sh","description":"An example of making a simple license validation request from a Go command line program ","archived":true,"fork":false,"pushed_at":"2022-07-05T20:25:29.000Z","size":2,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-16T06:59:57.981Z","etag":null,"topics":["example-code","license-activation","license-keys","license-validation","software-licensing"],"latest_commit_sha":null,"homepage":"https://keygen.sh","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/keygen-sh.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-03-08T18:39:32.000Z","updated_at":"2024-06-14T16:54:52.000Z","dependencies_parsed_at":"2023-03-07T02:15:14.635Z","dependency_job_id":null,"html_url":"https://github.com/keygen-sh/example-go-license-validation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/keygen-sh/example-go-license-validation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keygen-sh%2Fexample-go-license-validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keygen-sh%2Fexample-go-license-validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keygen-sh%2Fexample-go-license-validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keygen-sh%2Fexample-go-license-validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keygen-sh","download_url":"https://codeload.github.com/keygen-sh/example-go-license-validation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keygen-sh%2Fexample-go-license-validation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28430890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"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":["example-code","license-activation","license-keys","license-validation","software-licensing"],"created_at":"2026-01-14T18:46:36.451Z","updated_at":"2026-01-14T18:46:37.259Z","avatar_url":"https://github.com/keygen-sh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example Go License Validation\n\nThis is an example Go program for validating a license key. It contains a\nsmall command line program which prompts for a license key value and then\nvalidates the key using Keygen's software licensing API.\n\nThis repo is being archived. See our [Go SDK](https://github.com/keygen-sh/keygen-go) instead.\n\n## Running the example\n\nFirst up, configure a couple environment variables:\n\n```bash\n# Your Keygen account ID\nexport KEYGEN_ACCOUNT_ID=\"YOUR_KEYGEN_ACCOUNT_ID\"\n```\n\nYou can either run each line above within your terminal session before\nstarting the app, or you can add the above contents to your `~/.bashrc`\nfile and then run `source ~/.bashrc` after saving the file.\n\nNext, install dependencies with [`go mod`](https://blog.golang.org/using-go-modules):\n\n```\ngo install\n```\n\nThen run the program:\n\n```\ngo run main.go\n```\n\n## Questions?\n\nReach out at [support@keygen.sh](mailto:support@keygen.sh) if you have any\nquestions or concerns!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeygen-sh%2Fexample-go-license-validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeygen-sh%2Fexample-go-license-validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeygen-sh%2Fexample-go-license-validation/lists"}