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
package admin

View File

@ -1,4 +1,4 @@
// +build dev
//go:build dev
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
package files

View File

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

View File

@ -1,4 +1,4 @@
// +build !darwin,!linux,!windows
//go:build !darwin && !linux && !windows
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