Skip to content

Instantly share code, notes, and snippets.

@fatih
Created November 12, 2018 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fatih/6e7c2ef61f3fb92943dfce453cc031ef to your computer and use it in GitHub Desktop.
Save fatih/6e7c2ef61f3fb92943dfce453cc031ef to your computer and use it in GitHub Desktop.
(
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