{"id":21426344,"url":"https://github.com/code-raisan/gocolor","last_synced_at":"2025-07-14T10:30:35.419Z","repository":{"id":37018728,"uuid":"493560208","full_name":"code-raisan/gocolor","owner":"code-raisan","description":"Goでコンソールに出力する文字色を変えれます","archived":false,"fork":false,"pushed_at":"2022-08-14T10:03:50.000Z","size":19,"stargazers_count":25,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T06:11:14.770Z","etag":null,"topics":["go","golang","golang-library","golang-module"],"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/code-raisan.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":"2022-05-18T07:43:37.000Z","updated_at":"2024-11-11T11:17:06.000Z","dependencies_parsed_at":"2022-07-11T15:04:40.949Z","dependency_job_id":null,"html_url":"https://github.com/code-raisan/gocolor","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/code-raisan/gocolor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-raisan%2Fgocolor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-raisan%2Fgocolor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-raisan%2Fgocolor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-raisan%2Fgocolor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-raisan","download_url":"https://codeload.github.com/code-raisan/gocolor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-raisan%2Fgocolor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265280437,"owners_count":23739850,"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":["go","golang","golang-library","golang-module"],"created_at":"2024-11-22T21:41:32.132Z","updated_at":"2025-07-14T10:30:35.138Z","avatar_url":"https://github.com/code-raisan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gocolor\n\n![](https://img.shields.io/github/stars/code-raisan/gocolor?style=flat-square)\n\nGoでコンソールに出力する文字色を変えれます。\n\nChange the color of characters output to the console with Go.\n\n# How to use\n\n## Install\n\n```bash\ngo get github.com/code-raisan/gocolor@latest\n```\n\n## Sample\n\n`gocolor.Default()` を使用すると通常の文字色に戻すことができます\n\n### 色文字の出力例\n\n```go\npackage main\n\nimport (\n\t\"github.com/code-raisan/gocolor\"\n)\n\nfunc main() {\n    // Out put is red\n    println(gocolor.Red(\"gocolor.Red()\"))\n\t\n    // Out put is blue\n    println(gocolor.Blue(\"gocolor.Blue()\"))\n\t\n    // Out put is yellow\n    println(gocolor.Yellow(\"gocolor.Yellow()\"))\n\t\n    // Out put is green\n    println(gocolor.Green(\"gocolor.Green()\"))\n\t\n    // Out put is purple(magenta)\n    println(gocolor.Purple(\"gocolor.Purple()\"))\n\t\n    // Out put is cyan\n    println(gocolor.Cyan(\"gocolor.Cyan()\"))\n\t\n    // Out put is white\n    println(gocolor.White(\"gocolor.White()\"))\n\t\n    // Out put is black\n    println(gocolor.Black(\"gocolor.Black()\"))\n}\n\n```\n\n![image](https://user-images.githubusercontent.com/67790884/169005087-cea1fecf-be46-47db-a2cb-8891b60c69b6.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-raisan%2Fgocolor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-raisan%2Fgocolor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-raisan%2Fgocolor/lists"}