Removed pre-go1.17 build-tags with go fix;
go mod init
go fix -mod=readonly ./...
rm go.mod
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
12 lines
162 B
Go
12 lines
162 B
Go
//go:build !windows
|
|
|
|
package build
|
|
|
|
import (
|
|
"path/filepath"
|
|
)
|
|
|
|
func getContextRoot(srcPath string) (string, error) {
|
|
return filepath.Join(srcPath, "."), nil
|
|
}
|