Skip to content

Commit

Permalink
Update: add go bin
Browse files Browse the repository at this point in the history
  • Loading branch information
ifooth committed Sep 14, 2023
1 parent f1bca9c commit 692ff8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ linters-settings:
# 只开启特定的规则
errcheck:
exclude-functions:
- os.RemoveAll
- io.Copy
- (*os.File).Close
- (io.Closer).Close
- (net/http.ResponseWriter).Write
- io.Copy
- os.RemoveAll
govet:
check-shadowing: true
gocyclo:
Expand Down
2 changes: 1 addition & 1 deletion install-virtualenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ cd /opt/pyenv && tar -zcf versions.tar.gz versions/3.10/lib/python3.10/site-pack
cat <<\EOT >> /root/.bashrc
# add go and python path
export PATH=/data/bin:/opt/go/bin:/opt/pyenv/bin:/opt/pyenv/shims:/root/.npm-packages/bin:$PATH
export PATH=/data/bin:/root/.go/bin:/opt/go/bin:/opt/pyenv/bin:/opt/pyenv/shims:/root/.npm-packages/bin:$PATH
# ssh and vscode terminal use zsh
if [[ -n "${SSH_TTY}" ]] || [[ -n "${VSCODE_GIT_IPC_HANDLE}" ]];then
Expand Down

0 comments on commit 692ff8f

Please sign in to comment.