🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Remove `tools.go`
Deluan1b4483d32ba8
diff --git a/Makefile b/Makefileindex 7176887c5..8b0b07f5e 100644--- a/Makefile+++ b/Makefile@@ -47,7 +47,7 @@ lintall: lint ##@Development Lint Go and JS codeformat: ##@Development Format code@(cd ./ui && npm run prettier)- @go run golang.org/x/tools/cmd/goimports -w `find . -name '*.go' | grep -v _gen.go$$`+ @go run golang.org/x/tools/cmd/goimports@latest -w `find . -name '*.go' | grep -v _gen.go$$`@go mod tidy.PHONY: formatdiff --git a/git/pre-commit b/git/pre-commitindex 12bb32d49..6bb2b314f 100755--- a/git/pre-commit+++ b/git/pre-commit@@ -10,7 +10,7 @@## This script does not handle file names that contain spaces.-gofmtcmd="go run golang.org/x/tools/cmd/goimports"+gofmtcmd="go run golang.org/x/tools/cmd/goimports@latest"gofiles=$(git diff --cached --name-only --diff-filter=ACM | grep '.go$' | grep -v '_gen.go$')[ -z "$gofiles" ] && exit 0diff --git a/go.mod b/go.modindex c397b5b2b..75d8d301f 100644--- a/go.mod+++ b/go.mod@@ -49,7 +49,6 @@ require (golang.org/x/image v0.14.0golang.org/x/sync v0.5.0golang.org/x/text v0.14.0- golang.org/x/tools v0.15.0gopkg.in/yaml.v3 v3.0.1)@@ -107,9 +106,9 @@ require (golang.org/x/crypto v0.15.0 // indirectgolang.org/x/exp/shiny v0.0.0-20230515195305-f3d0a9c9a5cc // indirectgolang.org/x/mobile v0.0.0-20230427221453-e8d11dd0ba41 // indirect- golang.org/x/mod v0.14.0 // indirectgolang.org/x/net v0.18.0 // indirectgolang.org/x/sys v0.14.0 // indirect+ golang.org/x/tools v0.15.0 // indirectgoogle.golang.org/protobuf v1.31.0 // indirectgopkg.in/ini.v1 v1.67.0 // indirectgopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirectdiff --git a/tools.go b/tools.godeleted file mode 100644index 135af85a9..000000000--- a/tools.go+++ /dev/null@@ -1,7 +0,0 @@-//go:build tools--package main--import (- _ "golang.org/x/tools/cmd/goimports"-)