Closed daixiang0 closed 5 years ago
Fix #1
in the Gopkg.lock
line 1
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
it's my fault
maybe should add Gopkg.lock
andvendor/
to .gitignore
and use dep ensure
generate it
Gopkg.lock
and vendor
should not be ignored as i saw many go projects do the same.
After update and re-generate lock file, can be solved.
I also know that most projects do this (commit vendor and GoPkg.lock) but look that
It's up to you:
# Created by https://www.gitignore.io/api/go
# Edit at https://www.gitignore.io/?templates=go
### Go ###
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
### Go Patch ###
/vendor/
/Godeps/
# End of https://www.gitignore.io/api/go
Maybe I should abandon godep and embrace gomod or vgo
switch to gomod should be better, godep seems gradually transferred to gomod.
For now, keep godep work still make sense.
Signed-off-by: Xiang Dai 764524258@qq.com