replace gobin with go install

Signed-off-by: kkkkun <scuzk373x@gmail.com>
This commit is contained in:
kkkkun
2023-06-09 14:17:29 +08:00
parent 4d4984fde8
commit dca13c6d47
3 changed files with 1 additions and 7 deletions

View File

@@ -305,11 +305,6 @@ function tool_exists {
fi
}
# Ensure gobin is available, as it runs majority of the tools
if ! command -v "gobin" >/dev/null; then
run env GO111MODULE=off go get github.com/myitcv/gobin || exit 1
fi
# tool_get_bin [tool] - returns absolute path to a tool binary (or returns error)
function tool_get_bin {
local tool="$1"