refactor: update go:build syntax for go v1.17
This commit is contained in:
parent
fc472d144c
commit
2be077cf40
|
@ -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
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build dev
|
//go:build dev
|
||||||
|
|
||||||
package admin
|
package admin
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build dev
|
//go:build dev
|
||||||
|
|
||||||
package files
|
package files
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build !darwin,!linux,!windows
|
//go:build !darwin && !linux && !windows
|
||||||
|
|
||||||
package service
|
package service
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue