Update go get flag in README.md (#69)

due to https://github.com/v2fly/domain-list-community/pull/67
This commit is contained in:
Loyalsoldier 2020-07-25 18:00:07 +08:00 committed by GitHub
parent 05136457d5
commit cc4ac26869
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ Each file in the `data` directory can be used as a rule in this format: `geosite
## Generate `dlc.dat` manually
- Install `golang` and `git`
- Download and install project code: `go get -u -v --insecure github.com/v2fly/domain-list-community`
- Download and install project code: `go get -v --insecure github.com/v2fly/domain-list-community`
- Generate `dlc.dat` (without `datapath` option means to use `data` directory of this repository in `$GOPATH`):
- `${GOPATH:-$(go env GOPATH)}/bin/domain-list-community`
- `${GOPATH:-$(go env GOPATH)}/bin/domain-list-community --datapath=/path/to/your/custom/data/directory`