mattn / go-runewidth

wcwidth for golang
MIT License
609 stars 94 forks source link

Add //go:build lines #55

Closed tklauser closed 2 years ago

tklauser commented 3 years ago

Starting with Go 1.17, //go:build lines are preferred over // +build lines, see https://golang.org/doc/go1.17#build-lines and https://golang.org/design/draft-gobuild for details.

This change was generated by running Go 1.17 go fmt ./... which automatically adds //go:build lines based on the existing // +build lines.

codecov-commenter commented 3 years ago

Codecov Report

Merging #55 (5bd3120) into master (dc8fe66) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #55   +/-   ##
=======================================
  Coverage   93.56%   93.56%           
=======================================
  Files           3        3           
  Lines         171      171           
=======================================
  Hits          160      160           
  Misses          6        6           
  Partials        5        5           
Impacted Files Coverage Δ
runewidth_posix.go 100.00% <ø> (ø)
runewidth_windows.go 42.85% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update dc8fe66...5bd3120. Read the comment docs.

tklauser commented 2 years ago

@mattn friendly ping. Mind to take a look at this?

mattn commented 2 years ago

Thank you