|
|
@ -10,7 +10,7 @@ source /etc/profile.d/go.sh
|
|
|
|
mkdir -p ~/home/user/go
|
|
|
|
mkdir -p ~/home/user/go
|
|
|
|
echo "export GOPATH=/home/user/go" >> /etc/profile.d/gopath.sh
|
|
|
|
echo "export GOPATH=/home/user/go" >> /etc/profile.d/gopath.sh
|
|
|
|
source /etc/profile.d/gopath.sh
|
|
|
|
source /etc/profile.d/gopath.sh
|
|
|
|
|
|
|
|
chmod +x /etc/profile.d/*.sh
|
|
|
|
echo $GOPATH
|
|
|
|
echo $GOPATH
|
|
|
|
|
|
|
|
|
|
|
|
#设置代理
|
|
|
|
#设置代理
|
|
|
@ -25,6 +25,5 @@ https://www.jianshu.com/p/e74e940a64d9
|
|
|
|
|
|
|
|
|
|
|
|
dlv --listen=:2345 --headless=true --api-version=2 exec ./dsBaseRpc
|
|
|
|
dlv --listen=:2345 --headless=true --api-version=2 exec ./dsBaseRpc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//构建一个强制转换的错误~~~~
|
|
|
|
//构建一个强制转换的错误~~~~
|
|
|
|
//panic(400)
|
|
|
|
//panic(400)
|
|
|
|