]> ruderich.org/simon Gitweb - nsscash/nsscash.git/commitdiff
nsscash: replace %s with %v in format string for File.Type
authorSimon Ruderich <simon@ruderich.org>
Wed, 12 Jun 2019 06:48:16 +0000 (08:48 +0200)
committerSimon Ruderich <simon@ruderich.org>
Wed, 12 Jun 2019 06:48:16 +0000 (08:48 +0200)
File.Type is an int value with a stringer go:generate statement. Using
%s breaks running `go test` (which runs `go vet`) before running `go
generate`. Using %v has the same result and uses the stringified version
when available.


No differences found