Skip to content

Commit

Permalink
Pin to golang 1.17
Browse files Browse the repository at this point in the history
This updates the go version used to build the project as well as the //go:build statements to align with go 1.17 build changes.
  • Loading branch information
jpogran committed Oct 6, 2021
1 parent 8d2fe6d commit cb0ba49
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.16
1.17
1 change: 1 addition & 0 deletions internal/lsp/file_handler_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows

package lsp
Expand Down
1 change: 1 addition & 0 deletions internal/pathcmp/path_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows

package pathcmp
Expand Down
1 change: 1 addition & 0 deletions internal/schemas/schemas.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !preloadschema
// +build !preloadschema

package schemas
Expand Down
1 change: 1 addition & 0 deletions internal/schemas/schemas_preloadschema.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build preloadschema
// +build preloadschema

package schemas
Expand Down
1 change: 1 addition & 0 deletions internal/terraform/datadir/module_manifest_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows

package datadir
Expand Down
1 change: 1 addition & 0 deletions internal/terraform/discovery/discovery_unix.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows

package discovery
Expand Down
1 change: 1 addition & 0 deletions internal/uri/uri_unix.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows

package uri
Expand Down
1 change: 1 addition & 0 deletions internal/uri/uri_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows
// +build !windows

package uri
Expand Down
1 change: 1 addition & 0 deletions tools.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build tools
// +build tools

package main
Expand Down

0 comments on commit cb0ba49

Please sign in to comment.