Skip to content

Instantly share code, notes, and snippets.

@fatih

fatih/test godef

Created Nov 12, 2018
Embed
What would you like to do?
(
set -eux
cd $(mktemp -d)
export GOPATH=$(mktemp -d)
export PATH=$GOPATH/bin:$PATH
git clone https://github.com/ianthehat/godef
cd godef
git checkout f2eb530fb8dbca312f4661b985ec2ae5ba5e7b3a
go install
git clone https://github.com/digitalocean/csi-digitalocean
cd csi-digitalocean/
git checkout b9ed6c2ea9ad85c5e4956bdfe418940bb5aa883a
rm go.sum
go mod tidy
cd driver
time godef -o 19358 -f controller.go
time godef -o 19358 -f controller.go
time godef -o 19358 -f controller.go
) 2>&1 | tee output.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment