mirror of
https://github.com/Luzifer/go_helpers.git
synced 2024-12-25 05:21:20 +00:00
Fix unversioned import paths
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a29d3f74e6
commit
730cb15cbf
3 changed files with 8 additions and 2 deletions
6
go.mod
6
go.mod
|
@ -1,3 +1,9 @@
|
||||||
module github.com/Luzifer/go_helpers/v2
|
module github.com/Luzifer/go_helpers/v2
|
||||||
|
|
||||||
go 1.12
|
go 1.12
|
||||||
|
|
||||||
|
require (
|
||||||
|
github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf
|
||||||
|
github.com/leekchan/gtf v0.0.0-20190214083521-5fba33c5b00b
|
||||||
|
gopkg.in/yaml.v2 v2.2.2
|
||||||
|
)
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/Luzifer/go_helpers/str"
|
"github.com/Luzifer/go_helpers/v2/str"
|
||||||
)
|
)
|
||||||
|
|
||||||
func GetDigestAuth(resp *http.Response, method, requestPath, user, password string) string {
|
func GetDigestAuth(resp *http.Response, method, requestPath, user, password string) string {
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Luzifer/go_helpers/accessLogger"
|
"github.com/Luzifer/go_helpers/v2/accessLogger"
|
||||||
)
|
)
|
||||||
|
|
||||||
type HTTPLogHandler struct {
|
type HTTPLogHandler struct {
|
||||||
|
|
Loading…
Reference in a new issue