• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gookit / color / 38852271202
99%

Build:
DEFAULT BRANCH: master
Ran 16 Oct 2026 04:45AM UTC
Jobs 8
Files 12
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Oct 2026 04:45AM UTC coverage: 98.61% (+0.002%) from 98.608%
38852271202

push

github

inhere
style: gofmt 清掉历史遗留的未格式化文件

`gofmt -l .` 之前会列出 7 个文件(与 .github/copilot-instructions.md 的“提交前执行
go fmt”不符), 现在跑一遍 gofmt -w 后输出为空。改动都是纯格式:

- 文档注释里的代码块按 Go 1.19+ 规范重排(加空 // 行 + 制表符缩进): color_16.go、
  _examples/envcheck.go、_examples/ref/cmd_color.go
- color_rgb.go: RgbFromInt 的单行函数体展开为多行(当前 gofmt 的输出)
- issues_test.go: 去掉行尾空白; performance_test.go: 补上文件末尾换行
- _examples/ref/cmd_color.go: 老的 `//+build windows` 规范化成 `//go:build windows` +
  `// +build windows`(语义不变, 该文件仍只在 Windows 构建)
- _examples/related/box-cli-maker.go: 修正多余空格并去掉文件末尾空行

验证: gofmt -l . 输出为空; go vet ./... 通过; go test ./... -count=1 全绿(主模块)。
_examples 模块自身 `go build ./...` 仍是坏的(多个文件的 main 重名), 属既有问题, 与本次
格式改动无关。

3 of 3 new or added lines in 1 file covered. (100.0%)

1490 of 1511 relevant lines covered (98.61%)

8.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go-1.18 - 38852271202.1 16 Oct 2026 04:45AM UTC 12
98.54
GitHub Action Run
2 Go-1.19 - 38852271202.2 16 Oct 2026 04:45AM UTC 12
98.54
GitHub Action Run
3 Go-1.20 - 38852271202.3 16 Oct 2026 04:45AM UTC 12
98.54
GitHub Action Run
4 Go-1.24 - 38852271202.4 16 Oct 2026 04:46AM UTC 12
98.54
GitHub Action Run
5 Go-stable - 38852271202.5 16 Oct 2026 04:45AM UTC 12
98.3
GitHub Action Run
6 Go-1.22 - 38852271202.6 16 Oct 2026 04:45AM UTC 12
98.54
GitHub Action Run
7 Go-1.21 - 38852271202.7 16 Oct 2026 04:45AM UTC 12
98.54
GitHub Action Run
8 Go-1.23 - 38852271202.8 16 Oct 2026 04:45AM UTC 12
98.54
GitHub Action Run
Source Files on build 38852271202
  • Tree
  • List 12
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6ccb80d3 on github
  • Prev Build on master (#38842134621)
  • Next Build on master (#38853503967)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc