Skip to content

Commit

Permalink
Bump go directive to 1.17 in go.mod
Browse files Browse the repository at this point in the history
1.13 is sufficiently old at this point and net.ErrClosed from 1.16 will be nice
to use.

This change additionally runs go fmt to bring in the new 1.17 build tag syntax.

Signed-off-by: Daniel Canter <dcanter@microsoft.com>
  • Loading branch information
dcantah committed Feb 3, 2022
1 parent 01a3671 commit d52b50b
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions backup.go
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package winio
Expand Down
1 change: 1 addition & 0 deletions backup_test.go
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package winio
Expand Down
1 change: 1 addition & 0 deletions ea_test.go
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package winio
Expand Down
1 change: 1 addition & 0 deletions file.go
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package winio
Expand Down
1 change: 1 addition & 0 deletions fileinfo.go
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package winio
Expand Down
2 changes: 1 addition & 1 deletion go.mod
@@ -1,6 +1,6 @@
module github.com/Microsoft/go-winio

go 1.13
go 1.17

require (
github.com/sirupsen/logrus v1.7.0
Expand Down
1 change: 1 addition & 0 deletions hvsock.go
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package winio
Expand Down
1 change: 1 addition & 0 deletions pipe.go
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package winio
Expand Down
1 change: 1 addition & 0 deletions pipe_test.go
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package winio
Expand Down
1 change: 1 addition & 0 deletions privilege.go
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package winio
Expand Down
1 change: 1 addition & 0 deletions privileges_test.go
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package winio
Expand Down
1 change: 1 addition & 0 deletions sd.go
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package winio
Expand Down
1 change: 1 addition & 0 deletions sd_test.go
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package winio
Expand Down

0 comments on commit d52b50b

Please sign in to comment.