Commit Graph

2 Commits

Author SHA1 Message Date
Dennis Ameling
d7a3a090df Update formatting for Go 1.17
From the 1.17 release notes (https://golang.org/doc/go1.17#gofmt): gofmt (and go fmt) now synchronizes //go:build lines with // +build lines.

More info about this change can be found at https://golang.org/design/draft-gobuild
2021-08-17 20:24:58 +02:00
brian m. carlson
4cf30300ee
config: add a umask lookup function
On Windows, syscall.Umask doesn't exist, and trying to compile with it
doesn't work.  Add two files, controlled by build tags, that return the
umask on Unix systems and return a no-op default on Windows, so that we
can compile on all platforms.
2018-10-09 15:11:17 +00:00