{"id":13629656,"url":"https://github.com/segmentio/go-prompt","last_synced_at":"2025-04-17T09:35:33.149Z","repository":{"id":20520530,"uuid":"23799427","full_name":"segmentio/go-prompt","owner":"segmentio","description":"Go terminal prompts.","archived":true,"fork":false,"pushed_at":"2018-09-14T06:25:37.000Z","size":10,"stargazers_count":168,"open_issues_count":6,"forks_count":42,"subscribers_count":44,"default_branch":"master","last_synced_at":"2024-10-01T10:39:12.033Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/segmentio.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-08T16:52:47.000Z","updated_at":"2024-02-21T01:47:47.000Z","dependencies_parsed_at":"2022-08-21T20:20:52.479Z","dependency_job_id":null,"html_url":"https://github.com/segmentio/go-prompt","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fgo-prompt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fgo-prompt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fgo-prompt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Fgo-prompt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/segmentio","download_url":"https://codeload.github.com/segmentio/go-prompt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223751349,"owners_count":17196619,"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":[],"created_at":"2024-08-01T22:01:15.797Z","updated_at":"2024-11-08T20:31:37.678Z","avatar_url":"https://github.com/segmentio.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"\n# go-prompt\n\n Terminal prompts for Go.\n\n View the [docs](http://godoc.org/pkg/github.com/segmentio/go-prompt).\n\n## Example\n\n```go\npackage main\n\nimport \"github.com/segmentio/go-prompt\"\n\nvar langs = []string{\n  \"c\",\n  \"c++\",\n  \"lua\",\n  \"go\",\n  \"js\",\n  \"ruby\",\n  \"python\",\n}\n\nfunc main() {\n  i := prompt.Choose(\"What's your favorite language?\", langs)\n  println(\"picked: \" + langs[i])\n}\n```\n\n## License\n\n MIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegmentio%2Fgo-prompt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsegmentio%2Fgo-prompt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegmentio%2Fgo-prompt/lists"}