能否添加命令行选项并且不需依赖 gopath?
ayasechan opened this issue · comments
mikusaikou commented
如题
Loyalsoldier commented
-
Install
golang
andgit
-
Download and install project code:
go get -u -v --insecure github.com/v2fly/domain-list-community
-
Generate
dlc.dat
(withoutdatapath
option means to use data directory of this repository in $GOPATH):$(go env GOPATH)/bin/domain-list-community $(go env GOPATH)/bin/domain-list-community --datapath=/path/to/your/custom/data/directory