If you want to trim $GOPATH from source file path, build again as below $ go build -o trace -gcflags "all=-trimpath=$GOPATH" . $ ./trace
確定! 回上一頁