go-toolbox/scripts/workers/dlv.sh

8 lines
178 B
Bash
Raw Normal View History

2024-05-04 13:18:37 +05:00
#!/bin/bash
dlv_version=1.22.1
set -xe
CGO_ENABLED=0 GOBIN=/usr/local/bin/ go install -ldflags "-s -w -extldflags '-static'" github.com/go-delve/delve/cmd/dlv@v"$dlv_version"