Fix: compatible with Go v1.16 (#422)

The flag `--insecure` in go get command has been deprecated in Go v1.16

Fixes #421
Fixes #420
This commit is contained in:
Loyalsoldier
2021-02-25 12:35:05 +08:00
committed by GitHub
parent 4449fcb890
commit 36f0a37aea
5 changed files with 71 additions and 140 deletions

6
go.mod
View File

@@ -1,10 +1,8 @@
module github.com/v2fly/domain-list-community
go 1.15
go 1.16
require (
github.com/v2fly/v2ray-core/v4 v4.34.1-0.20210224091244-9d13f99633c8
google.golang.org/protobuf v1.25.0
v2ray.com/core v4.19.1+incompatible
)
replace v2ray.com/core => github.com/v2fly/v2ray-core v0.0.0-20201225111350-8c5b392f2763