From 16248ebfd8002c15f4c5cc8290c846d27495abe8 Mon Sep 17 00:00:00 2001 From: Georgy Date: Fri, 26 Jul 2024 12:45:41 +0300 Subject: [PATCH] fix go mod --- global/global.go | 2 +- global/global_test.go | 2 +- go.mod | 4 ++-- go.sum | 4 ++-- loghttp.go | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/global/global.go b/global/global.go index 91f29db..908c811 100644 --- a/global/global.go +++ b/global/global.go @@ -4,7 +4,7 @@ package global import ( "net/http" - "github.com/motemen/go-loghttp" + "github.com/64mb/go-loghttp" ) func init() { diff --git a/global/global_test.go b/global/global_test.go index 8985958..124146e 100644 --- a/global/global_test.go +++ b/global/global_test.go @@ -3,7 +3,7 @@ package global_test import ( "net/http" - _ "github.com/motemen/go-loghttp/global" + _ "github.com/64mb/go-loghttp/global" ) var client = &http.Client{} diff --git a/go.mod b/go.mod index f9bfa5e..51e825c 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ -module github.com/motemen/go-loghttp +module github.com/64mb/go-loghttp go 1.20 -require github.com/motemen/go-nuts v0.0.0-20220604134737-2658d0104f31 +require github.com/64mb/go-nuts v0.0.1 diff --git a/go.sum b/go.sum index c542b52..6d6ca92 100644 --- a/go.sum +++ b/go.sum @@ -31,6 +31,8 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +github.com/64mb/go-nuts v0.0.1 h1:zhRptzNFA2TqJtk5AgwPUDvvn6IgM2j9xzT/DMqdv2Y= +github.com/64mb/go-nuts v0.0.1/go.mod h1:y6Oa/iU4a6hyFKlLzUODfDm94y+rHZoZ6dmeC/5XuLA= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= @@ -105,8 +107,6 @@ github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+o github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/motemen/go-nuts v0.0.0-20220604134737-2658d0104f31 h1:lQ+0Zt2gm+w5+9iaBWKdJXC/gMrWjHhNbw9ts/9rSZ4= -github.com/motemen/go-nuts v0.0.0-20220604134737-2658d0104f31/go.mod h1:vkBO+XDNzovo+YLBpUod2SFvuWLObXlERnfj99RP3rU= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= diff --git a/loghttp.go b/loghttp.go index bfec74b..959ee3d 100644 --- a/loghttp.go +++ b/loghttp.go @@ -7,7 +7,7 @@ import ( "net/http" "time" - "github.com/motemen/go-nuts/roundtime" + "github.com/64mb/go-nuts/roundtime" ) // Transport implements http.RoundTripper. When set as Transport of http.Client, it executes HTTP requests with logging.