51 lines
2.1 KiB
Diff
51 lines
2.1 KiB
Diff
From 329ba9ca89d25da58d1b51b8107f164beae816bb Mon Sep 17 00:00:00 2001
|
|
From: sbwml <admin@cooluc.com>
|
|
Date: Tue, 19 Sep 2023 21:15:12 +0800
|
|
Subject: [PATCH 1/5] compatible with go1.20
|
|
|
|
---
|
|
go.mod | 6 ++----
|
|
go.sum | 4 ++--
|
|
2 files changed, 4 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/go.mod b/go.mod
|
|
index 1839776..1b4cc4b 100644
|
|
--- a/go.mod
|
|
+++ b/go.mod
|
|
@@ -1,8 +1,6 @@
|
|
module github.com/IrineSistiana/mosdns/v5
|
|
|
|
-go 1.21
|
|
-
|
|
-toolchain go1.21.1
|
|
+go 1.20
|
|
|
|
require (
|
|
github.com/IrineSistiana/go-bytes-pool v0.0.0-20230918115058-c72bd9761c57
|
|
@@ -45,7 +43,7 @@ require (
|
|
github.com/magiconair/properties v1.8.7 // indirect
|
|
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
|
|
github.com/mdlayher/netlink v1.7.2 // indirect
|
|
- github.com/mdlayher/socket v0.5.0 // indirect
|
|
+ github.com/mdlayher/socket v0.4.1 // indirect
|
|
github.com/onsi/ginkgo/v2 v2.13.0 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
diff --git a/go.sum b/go.sum
|
|
index 41a59b2..ad95d6d 100644
|
|
--- a/go.sum
|
|
+++ b/go.sum
|
|
@@ -173,8 +173,8 @@ github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 h1:jWpvCLoY8Z/e3VKvls
|
|
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0/go.mod h1:QUyp042oQthUoa9bqDv0ER0wrtXnBruoNd7aNjkbP+k=
|
|
github.com/mdlayher/netlink v1.7.2 h1:/UtM3ofJap7Vl4QWCPDGXY8d3GIY2UGSDbK+QWmY8/g=
|
|
github.com/mdlayher/netlink v1.7.2/go.mod h1:xraEF7uJbxLhc5fpHL4cPe221LI2bdttWlU+ZGLfQSw=
|
|
-github.com/mdlayher/socket v0.5.0 h1:ilICZmJcQz70vrWVes1MFera4jGiWNocSkykwwoy3XI=
|
|
-github.com/mdlayher/socket v0.5.0/go.mod h1:WkcBFfvyG8QENs5+hfQPl1X6Jpd2yeLIYgrGFmJiJxI=
|
|
+github.com/mdlayher/socket v0.4.1 h1:eM9y2/jlbs1M615oshPQOHZzj6R6wMT7bX5NPiQvn2U=
|
|
+github.com/mdlayher/socket v0.4.1/go.mod h1:cAqeGjoufqdxWkD7DkpyS+wcefOtmu5OQ8KuoJGIReA=
|
|
github.com/miekg/dns v1.1.56 h1:5imZaSeoRNvpM9SzWNhEcP9QliKiz20/dA2QabIGVnE=
|
|
github.com/miekg/dns v1.1.56/go.mod h1:cRm6Oo2C8TY9ZS/TqsSrseAcncm74lfK5G+ikN2SWWY=
|
|
github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
|
|
--
|
|
2.42.0
|
|
|