diff --git a/environment.go b/environment.go index f09c20f..f616be9 100644 --- a/environment.go +++ b/environment.go @@ -9,7 +9,7 @@ import "errors" import "context" import "path/filepath" import "html/template" -import "git.tebibyte.media/sashakoshka/goutil/sync" +import "git.tebibyte.media/sashakoshka/go-util/sync" // TODO change Parse to Load, ParseReader to Parse diff --git a/go.mod b/go.mod index 365f016..5a23d54 100644 --- a/go.mod +++ b/go.mod @@ -5,11 +5,12 @@ go 1.23.3 require ( git.tebibyte.media/sashakoshka/go-cli v0.1.2 git.tebibyte.media/sashakoshka/go-service v0.1.1 - git.tebibyte.media/sashakoshka/goutil v0.7.0 + git.tebibyte.media/sashakoshka/go-util v0.8.0 github.com/Masterminds/sprig/v3 v3.3.0 github.com/gabriel-vasile/mimetype v1.4.7 github.com/google/uuid v1.6.0 github.com/yuin/goldmark v1.7.8 + golang.org/x/crypto v0.29.0 ) require ( @@ -21,6 +22,5 @@ require ( github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/shopspring/decimal v1.4.0 // indirect github.com/spf13/cast v1.7.0 // indirect - golang.org/x/crypto v0.29.0 // indirect golang.org/x/net v0.31.0 // indirect ) diff --git a/go.sum b/go.sum index 5a09e86..84835db 100644 --- a/go.sum +++ b/go.sum @@ -4,8 +4,8 @@ git.tebibyte.media/sashakoshka/go-cli v0.1.2 h1:d6SD8l5YbmgtCr5qMsQt/3OaNKjpePLi git.tebibyte.media/sashakoshka/go-cli v0.1.2/go.mod h1:JFA3wSdRkXxa4iQJWHfe3DokiG7Dh2XUJBzPmuVlbuY= git.tebibyte.media/sashakoshka/go-service v0.1.1 h1:WhDK532iB3hrVILih2+rJmRtCctXIoj2uEWMm8tU4+E= git.tebibyte.media/sashakoshka/go-service v0.1.1/go.mod h1:qPtzuqB1psUWZrmy3XTU1dZHHhVNHHP2pSBkpzlTazk= -git.tebibyte.media/sashakoshka/goutil v0.7.0 h1:71j9jJbraYPrD3hIxsiQBiAd9VnX6BZPRhqCfyjgraE= -git.tebibyte.media/sashakoshka/goutil v0.7.0/go.mod h1:UF5frNyvtAuaP6JwkbvLqp3DltmDIm9G+ZXU8lP3oVQ= +git.tebibyte.media/sashakoshka/go-util v0.8.0 h1:XFuZ8HQkrnibrV016rso00geCFPatKpX4jxkIVhZPaQ= +git.tebibyte.media/sashakoshka/go-util v0.8.0/go.mod h1:0Q1t+PePdx6tFYkRuJNcpM1Mru7wE6X+it1kwuOH+6Y= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= github.com/Masterminds/semver/v3 v3.3.0 h1:B8LGeaivUe71a5qox1ICM/JLl0NqZSW5CHyL+hmvYS0= diff --git a/http/handler.go b/http/handler.go index 4291379..331c81a 100644 --- a/http/handler.go +++ b/http/handler.go @@ -14,8 +14,8 @@ import "context" import "net/http" import "path/filepath" import "git.tebibyte.media/sashakoshka/step" -import "git.tebibyte.media/sashakoshka/goutil/sync" -import "git.tebibyte.media/sashakoshka/goutil/container" +import "git.tebibyte.media/sashakoshka/go-util/sync" +import "git.tebibyte.media/sashakoshka/go-util/container" var errRateLimit = errors.New("rate limit") diff --git a/providers/session/session.go b/providers/session/session.go index 6e7fa96..cf4ea83 100644 --- a/providers/session/session.go +++ b/providers/session/session.go @@ -5,8 +5,8 @@ import "net/http" import "html/template" import "github.com/google/uuid" import "git.tebibyte.media/sashakoshka/step" -import "git.tebibyte.media/sashakoshka/goutil/sync" -import "git.tebibyte.media/sashakoshka/goutil/container" +import "git.tebibyte.media/sashakoshka/go-util/sync" +import "git.tebibyte.media/sashakoshka/go-util/container" import shttp "git.tebibyte.media/sashakoshka/step/http" const sessionIDCookieName = "step-session-id"