refactor: update go:build syntax for go v1.17

This commit is contained in:
AJ ONeal 2021-11-01 22:40:50 -06:00
parent fc472d144c
commit 2be077cf40
6 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,5 @@
// +build !dev //go:build !dev
//go:generate go run -mod vendor github.com/shurcooL/vfsgen/cmd/vfsgendev -source="git.rootprojects.org/root/telebit/assets/admin".AdminFS //go:generate go run -mod vendor github.com/shurcooL/vfsgen/cmd/vfsgendev -source="git.rootprojects.org/root/telebit/assets/admin".AdminFS
package admin package admin

View File

@ -1,4 +1,4 @@
// +build dev //go:build dev
package admin package admin

View File

@ -1,4 +1,5 @@
// +build !dev //go:build !dev
//go:generate go run -mod vendor github.com/shurcooL/vfsgen/cmd/vfsgendev -source="git.rootprojects.org/root/telebit/assets/files".Assets //go:generate go run -mod vendor github.com/shurcooL/vfsgen/cmd/vfsgendev -source="git.rootprojects.org/root/telebit/assets/files".Assets
package files package files

View File

@ -1,4 +1,4 @@
// +build dev //go:build dev
package files package files

View File

@ -1,4 +1,4 @@
// +build !darwin,!linux,!windows //go:build !darwin && !linux && !windows
package service package service

View File

@ -1,4 +1,4 @@
// +build tools //go:build tools
// Package tools is a faux package for tracking dependencies that don't make it into the code // Package tools is a faux package for tracking dependencies that don't make it into the code
package tools package tools