From 2274aa25fe649e8609958780b0847dc85c05539e Mon Sep 17 00:00:00 2001 From: dingjun Date: Wed, 1 Jul 2020 15:15:34 +0800 Subject: [PATCH] update log version --- go.mod | 2 +- go.sum | 6 ++---- main.go | 2 +- proto_test.go | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 24ef10b..1275615 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/fangdingjun/sniproxy go 1.13 require ( - github.com/fangdingjun/go-log v0.0.0-20190821073628-ae332053d6dc + github.com/fangdingjun/go-log/v5 v5.0.0 github.com/fangdingjun/protolistener v0.0.0-20190821093313-6d5d2138f296 github.com/pires/go-proxyproto v0.0.0-20190615163442-2c19fd512994 gopkg.in/yaml.v2 v2.2.2 diff --git a/go.sum b/go.sum index 6e07031..0f83004 100644 --- a/go.sum +++ b/go.sum @@ -1,17 +1,15 @@ github.com/fangdingjun/go-log v0.0.0-20190821073628-ae332053d6dc h1:Tdk7VsmsFo3d0NqHTy3SRoRnkduOxwXgR65gQsq8kXY= github.com/fangdingjun/go-log v0.0.0-20190821073628-ae332053d6dc/go.mod h1:oi7jbIScCbha6TbVzmrJP6igIHt+jcvvEgSJ7Ww1GkI= +github.com/fangdingjun/go-log/v5 v5.0.0 h1:vdh9Bk9C4ZFL6KoO6rII73zQIyaLf7hFdBvucO/ckiE= +github.com/fangdingjun/go-log/v5 v5.0.0/go.mod h1:V012Oxo0/pSbccX4OFSp9MJglXwNsZo2ByBBorr7zzM= github.com/fangdingjun/protolistener v0.0.0-20190821093313-6d5d2138f296 h1:2c6agkdoPVSyvdJ0B+5DhOb1BQpso7a7zlBxXUnttmY= github.com/fangdingjun/protolistener v0.0.0-20190821093313-6d5d2138f296/go.mod h1:RoT81rjdN8gQ1w/z7NiFkxV6VzkT4NZ43XIt0lu8tcc= -github.com/pires/go-proxyproto v0.0.0-20190111085350-4d51b51e3bfc h1:lNOt1SMsgHXTdpuGw+RpnJtzUcCb/oRKZP65pBy9pr8= github.com/pires/go-proxyproto v0.0.0-20190111085350-4d51b51e3bfc/go.mod h1:6/gX3+E/IYGa0wMORlSMla999awQFdbaeQCHjSMKIzY= github.com/pires/go-proxyproto v0.0.0-20190615163442-2c19fd512994 h1:3ssKn22MN6oLH+l2iimsBdCliSgELXTBWWR+yooB2lQ= github.com/pires/go-proxyproto v0.0.0-20190615163442-2c19fd512994/go.mod h1:6/gX3+E/IYGa0wMORlSMla999awQFdbaeQCHjSMKIzY= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a h1:Igim7XhdOpBnWPuYJ70XcNpq8q3BCACtVgNfoJxOV7g= golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e h1:nFYrTHrdrAOpShe27kaFHjsqYSEQ0KWqdWLu3xuZJts= golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/main.go b/main.go index 3a4b502..3cb4f14 100644 --- a/main.go +++ b/main.go @@ -13,7 +13,7 @@ import ( "syscall" "time" - glog "github.com/fangdingjun/go-log" + glog "github.com/fangdingjun/go-log/v5" proxyproto "github.com/pires/go-proxyproto" yaml "gopkg.in/yaml.v2" ) diff --git a/proto_test.go b/proto_test.go index 2f97a47..989bb1f 100644 --- a/proto_test.go +++ b/proto_test.go @@ -7,7 +7,7 @@ import ( "net" "testing" - "github.com/fangdingjun/go-log" + "github.com/fangdingjun/go-log/v5" "github.com/fangdingjun/protolistener" yaml "gopkg.in/yaml.v2" )