From b79ebce338af4a1be6115596005ae70b61d18e53 Mon Sep 17 00:00:00 2001 From: dingjun Date: Wed, 1 Jul 2020 15:16:13 +0800 Subject: [PATCH] update log version --- go.mod | 2 +- go.sum | 7 ++----- proxy_protocol.go | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 6d726d5..7d269f0 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/fangdingjun/protolistener 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/pires/go-proxyproto v0.0.0-20190111085350-4d51b51e3bfc golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a // indirect ) diff --git a/go.sum b/go.sum index 60b52c3..2dafc18 100644 --- a/go.sum +++ b/go.sum @@ -1,10 +1,7 @@ -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/pires/go-proxyproto v0.0.0-20190111085350-4d51b51e3bfc h1:lNOt1SMsgHXTdpuGw+RpnJtzUcCb/oRKZP65pBy9pr8= +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/pires/go-proxyproto v0.0.0-20190111085350-4d51b51e3bfc/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= diff --git a/proxy_protocol.go b/proxy_protocol.go index 3e960bf..ce87db6 100644 --- a/proxy_protocol.go +++ b/proxy_protocol.go @@ -4,7 +4,7 @@ import ( "bufio" "net" - "github.com/fangdingjun/go-log" + log "github.com/fangdingjun/go-log/v5" proxyproto "github.com/pires/go-proxyproto" )