{"id":13409925,"url":"https://github.com/daviddengcn/go-colortext","last_synced_at":"2025-03-14T15:31:04.184Z","repository":{"id":6526077,"uuid":"7767091","full_name":"daviddengcn/go-colortext","owner":"daviddengcn","description":"Change the color of console text.","archived":false,"fork":false,"pushed_at":"2020-03-29T21:12:20.000Z","size":19,"stargazers_count":214,"open_issues_count":3,"forks_count":22,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-10-25T04:09:43.286Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daviddengcn.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":"2013-01-23T03:38:54.000Z","updated_at":"2024-10-01T16:40:26.000Z","dependencies_parsed_at":"2022-09-17T04:50:21.790Z","dependency_job_id":null,"html_url":"https://github.com/daviddengcn/go-colortext","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/daviddengcn%2Fgo-colortext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daviddengcn%2Fgo-colortext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daviddengcn%2Fgo-colortext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daviddengcn%2Fgo-colortext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daviddengcn","download_url":"https://codeload.github.com/daviddengcn/go-colortext/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243600560,"owners_count":20317299,"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-07-30T20:01:04.078Z","updated_at":"2025-03-14T15:31:03.805Z","avatar_url":"https://github.com/daviddengcn.png","language":"Go","funding_links":[],"categories":["Command Line","命令行","CUI","高级控制台UI","Build Automation","\u003cspan id=\"命令行-command-line\"\u003e命令行 Command Line\u003c/span\u003e","高级控制台UI`用于构建控制台应用程序和控制台用户界面的库.`"],"sub_categories":["Advanced Console UIs","高级控制台用户界面","标准 CLI","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e"],"readme":"go-colortext package [![GoSearch](http://go-search.org/badge?id=github.com%2Fdaviddengcn%2Fgo-colortext)](http://go-search.org/view?id=github.com%2Fdaviddengcn%2Fgo-colortext)\n====================\n\nThis is a package to change the color of the text and background in the console, working both under Windows and other systems.\n\nUnder Windows, the console APIs are used. Otherwise, ANSI texts are output.\n\nDocs: http://godoc.org/github.com/daviddengcn/go-colortext ([packages that import ct](http://go-search.org/view?id=github.com%2fdaviddengcn%2fgo-colortext))\n\nUsage:\n```go\nct.Foreground(Green, false)\nfmt.Println(\"Green text starts here...\")\nct.ChangeColor(Red, true, White, false)\nfmt.Println(...)\nct.ResetColor()\n```\n\nLICENSE\n=======\nBSD/MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaviddengcn%2Fgo-colortext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaviddengcn%2Fgo-colortext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaviddengcn%2Fgo-colortext/lists"}