diff --git a/README.md b/README.md index c170018..86aeb1e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A collection of general & useful library methods This should not have any heavy dependencies (gin, mongo, etc) and add missing basic language features... -Potentially needs `export GOPRIVATE="gogs.mikescher.com"` +Potentially needs `export GOPRIVATE="git.blackforestbytes.com"` ## Packages: diff --git a/bfcodegen/csid-generate.go b/bfcodegen/csid-generate.go index 7354108..4167f2b 100644 --- a/bfcodegen/csid-generate.go +++ b/bfcodegen/csid-generate.go @@ -6,10 +6,10 @@ import ( "errors" "fmt" "go/format" - "gogs.mikescher.com/BlackForestBytes/goext" - "gogs.mikescher.com/BlackForestBytes/goext/cryptext" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/rext" + "git.blackforestbytes.com/BlackForestBytes/goext" + "git.blackforestbytes.com/BlackForestBytes/goext/cryptext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/rext" "io" "os" "path" diff --git a/bfcodegen/csid-generate.template b/bfcodegen/csid-generate.template index 9c1aa8b..91cf521 100644 --- a/bfcodegen/csid-generate.template +++ b/bfcodegen/csid-generate.template @@ -7,9 +7,9 @@ import "crypto/sha256" import "fmt" import "github.com/go-playground/validator/v10" import "github.com/rs/zerolog/log" -import "gogs.mikescher.com/BlackForestBytes/goext/exerr" -import "gogs.mikescher.com/BlackForestBytes/goext/langext" -import "gogs.mikescher.com/BlackForestBytes/goext/rext" +import "git.blackforestbytes.com/BlackForestBytes/goext/exerr" +import "git.blackforestbytes.com/BlackForestBytes/goext/langext" +import "git.blackforestbytes.com/BlackForestBytes/goext/rext" import "math/big" import "reflect" import "regexp" diff --git a/bfcodegen/csid-generate_test.go b/bfcodegen/csid-generate_test.go index 912cba2..b3efab0 100644 --- a/bfcodegen/csid-generate_test.go +++ b/bfcodegen/csid-generate_test.go @@ -3,9 +3,9 @@ package bfcodegen import ( _ "embed" "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/cmdext" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/cmdext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "os" "path/filepath" "testing" diff --git a/bfcodegen/enum-generate.go b/bfcodegen/enum-generate.go index 95c82b2..47512de 100644 --- a/bfcodegen/enum-generate.go +++ b/bfcodegen/enum-generate.go @@ -7,10 +7,10 @@ import ( "errors" "fmt" "go/format" - "gogs.mikescher.com/BlackForestBytes/goext" - "gogs.mikescher.com/BlackForestBytes/goext/cryptext" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/rext" + "git.blackforestbytes.com/BlackForestBytes/goext" + "git.blackforestbytes.com/BlackForestBytes/goext/cryptext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/rext" "io" "os" "path" diff --git a/bfcodegen/enum-generate.template b/bfcodegen/enum-generate.template index ec6fbd8..bfc2e45 100644 --- a/bfcodegen/enum-generate.template +++ b/bfcodegen/enum-generate.template @@ -2,8 +2,8 @@ package {{.PkgName}} -import "gogs.mikescher.com/BlackForestBytes/goext/langext" -import "gogs.mikescher.com/BlackForestBytes/goext/enums" +import "git.blackforestbytes.com/BlackForestBytes/goext/langext" +import "git.blackforestbytes.com/BlackForestBytes/goext/enums" const ChecksumEnumGenerator = "{{.Checksum}}" // GoExtVersion: {{.GoextVersion}} diff --git a/bfcodegen/enum-generate_test.go b/bfcodegen/enum-generate_test.go index f5d12c1..465673c 100644 --- a/bfcodegen/enum-generate_test.go +++ b/bfcodegen/enum-generate_test.go @@ -3,9 +3,9 @@ package bfcodegen import ( _ "embed" "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/cmdext" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/cmdext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "os" "path/filepath" "testing" diff --git a/bfcodegen/id-generate.go b/bfcodegen/id-generate.go index c07a31c..8f7bd7b 100644 --- a/bfcodegen/id-generate.go +++ b/bfcodegen/id-generate.go @@ -6,10 +6,10 @@ import ( "errors" "fmt" "go/format" - "gogs.mikescher.com/BlackForestBytes/goext" - "gogs.mikescher.com/BlackForestBytes/goext/cryptext" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/rext" + "git.blackforestbytes.com/BlackForestBytes/goext" + "git.blackforestbytes.com/BlackForestBytes/goext/cryptext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/rext" "io" "os" "path" diff --git a/bfcodegen/id-generate.template b/bfcodegen/id-generate.template index 2eebcba..b30514a 100644 --- a/bfcodegen/id-generate.template +++ b/bfcodegen/id-generate.template @@ -5,7 +5,7 @@ package {{.PkgName}} import "go.mongodb.org/mongo-driver/bson" import "go.mongodb.org/mongo-driver/bson/bsontype" import "go.mongodb.org/mongo-driver/bson/primitive" -import "gogs.mikescher.com/BlackForestBytes/goext/exerr" +import "git.blackforestbytes.com/BlackForestBytes/goext/exerr" const ChecksumIDGenerator = "{{.Checksum}}" // GoExtVersion: {{.GoextVersion}} diff --git a/bfcodegen/id-generate_test.go b/bfcodegen/id-generate_test.go index 2920108..dc06eb9 100644 --- a/bfcodegen/id-generate_test.go +++ b/bfcodegen/id-generate_test.go @@ -3,9 +3,9 @@ package bfcodegen import ( _ "embed" "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/cmdext" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/cmdext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "os" "path/filepath" "testing" diff --git a/cmdext/builder.go b/cmdext/builder.go index f95a811..0ab5bcb 100644 --- a/cmdext/builder.go +++ b/cmdext/builder.go @@ -2,7 +2,7 @@ package cmdext import ( "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "time" ) diff --git a/cmdext/cmdrunner.go b/cmdext/cmdrunner.go index c989a46..ce20774 100644 --- a/cmdext/cmdrunner.go +++ b/cmdext/cmdrunner.go @@ -2,9 +2,9 @@ package cmdext import ( "errors" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/mathext" - "gogs.mikescher.com/BlackForestBytes/goext/syncext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/mathext" + "git.blackforestbytes.com/BlackForestBytes/goext/syncext" "os/exec" "time" ) diff --git a/cmdext/pipereader.go b/cmdext/pipereader.go index eb6d706..a1e945a 100644 --- a/cmdext/pipereader.go +++ b/cmdext/pipereader.go @@ -2,7 +2,7 @@ package cmdext import ( "bufio" - "gogs.mikescher.com/BlackForestBytes/goext/syncext" + "git.blackforestbytes.com/BlackForestBytes/goext/syncext" "io" "sync" ) diff --git a/confext/confParser.go b/confext/confParser.go index c39fd5c..a0f362a 100644 --- a/confext/confParser.go +++ b/confext/confParser.go @@ -3,7 +3,7 @@ package confext import ( "errors" "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/timeext" + "git.blackforestbytes.com/BlackForestBytes/goext/timeext" "math/bits" "os" "reflect" diff --git a/confext/confParser_test.go b/confext/confParser_test.go index 6540692..1ba1b09 100644 --- a/confext/confParser_test.go +++ b/confext/confParser_test.go @@ -1,8 +1,8 @@ package confext import ( - "gogs.mikescher.com/BlackForestBytes/goext/timeext" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/timeext" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "testing" "time" ) diff --git a/cryptext/aes_test.go b/cryptext/aes_test.go index 7bd2d90..1cbfe4c 100644 --- a/cryptext/aes_test.go +++ b/cryptext/aes_test.go @@ -2,7 +2,7 @@ package cryptext import ( "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "testing" ) diff --git a/cryptext/hash_test.go b/cryptext/hash_test.go index 14bcd72..f875892 100644 --- a/cryptext/hash_test.go +++ b/cryptext/hash_test.go @@ -1,7 +1,7 @@ package cryptext import ( - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "testing" ) diff --git a/cryptext/passHash.go b/cryptext/passHash.go index 15108ff..28c9c4c 100644 --- a/cryptext/passHash.go +++ b/cryptext/passHash.go @@ -8,8 +8,8 @@ import ( "encoding/hex" "errors" "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/totpext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/totpext" "golang.org/x/crypto/bcrypt" "strconv" "strings" diff --git a/cryptext/passHash_test.go b/cryptext/passHash_test.go index 782583b..e70d44c 100644 --- a/cryptext/passHash_test.go +++ b/cryptext/passHash_test.go @@ -1,9 +1,9 @@ package cryptext import ( - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/totpext" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/totpext" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "testing" ) diff --git a/cursortoken/token.go b/cursortoken/token.go index 8486de3..e17e2a9 100644 --- a/cursortoken/token.go +++ b/cursortoken/token.go @@ -3,7 +3,7 @@ package cursortoken import ( "encoding/base32" "encoding/json" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" "strconv" "strings" "time" diff --git a/dataext/lruMap_test.go b/dataext/lruMap_test.go index 4cd992f..9835589 100644 --- a/dataext/lruMap_test.go +++ b/dataext/lruMap_test.go @@ -1,7 +1,7 @@ package dataext import ( - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "math/rand" "strconv" "testing" diff --git a/dataext/merge_test.go b/dataext/merge_test.go index 76a58c5..a40a0ef 100644 --- a/dataext/merge_test.go +++ b/dataext/merge_test.go @@ -1,8 +1,8 @@ package dataext import ( - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "testing" ) diff --git a/dataext/optional.go b/dataext/optional.go index 68c0393..b9ece33 100644 --- a/dataext/optional.go +++ b/dataext/optional.go @@ -3,7 +3,7 @@ package dataext import ( "encoding/json" "errors" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) type JsonOpt[T any] struct { diff --git a/dataext/stack.go b/dataext/stack.go index 3530c5c..ca5511e 100644 --- a/dataext/stack.go +++ b/dataext/stack.go @@ -2,7 +2,7 @@ package dataext import ( "errors" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "sync" ) diff --git a/dataext/structHash.go b/dataext/structHash.go index 9336ab9..d3ec5aa 100644 --- a/dataext/structHash.go +++ b/dataext/structHash.go @@ -6,7 +6,7 @@ import ( "encoding/binary" "errors" "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "hash" "io" "reflect" diff --git a/dataext/structHash_test.go b/dataext/structHash_test.go index 17bf94e..57894f7 100644 --- a/dataext/structHash_test.go +++ b/dataext/structHash_test.go @@ -1,8 +1,8 @@ package dataext import ( - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "testing" ) diff --git a/exerr/builder.go b/exerr/builder.go index b8e3a94..82372e2 100644 --- a/exerr/builder.go +++ b/exerr/builder.go @@ -8,9 +8,9 @@ import ( "github.com/gin-gonic/gin" "github.com/rs/zerolog" "go.mongodb.org/mongo-driver/bson/primitive" - "gogs.mikescher.com/BlackForestBytes/goext/dataext" - "gogs.mikescher.com/BlackForestBytes/goext/enums" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/dataext" + "git.blackforestbytes.com/BlackForestBytes/goext/enums" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "net/http" "os" "runtime/debug" diff --git a/exerr/constructor.go b/exerr/constructor.go index 9896abc..d150610 100644 --- a/exerr/constructor.go +++ b/exerr/constructor.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" "go.mongodb.org/mongo-driver/bson/primitive" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "reflect" "time" ) diff --git a/exerr/dataType.go b/exerr/dataType.go index 8e1583e..3d8e69c 100644 --- a/exerr/dataType.go +++ b/exerr/dataType.go @@ -8,8 +8,8 @@ import ( "go.mongodb.org/mongo-driver/bson/bsoncodec" "go.mongodb.org/mongo-driver/bson/bsonrw" "go.mongodb.org/mongo-driver/bson/bsontype" - "gogs.mikescher.com/BlackForestBytes/goext/dataext" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/dataext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "reflect" ) diff --git a/exerr/data_test.go b/exerr/data_test.go index 4331008..8687e22 100644 --- a/exerr/data_test.go +++ b/exerr/data_test.go @@ -6,7 +6,7 @@ import ( "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" "go.mongodb.org/mongo-driver/mongo" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "testing" "time" ) diff --git a/exerr/errinit.go b/exerr/errinit.go index 384ee33..018486f 100644 --- a/exerr/errinit.go +++ b/exerr/errinit.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/gin-gonic/gin" "github.com/rs/zerolog" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "net/http" "os" ) diff --git a/exerr/exerr.go b/exerr/exerr.go index f45ce06..8a9367d 100644 --- a/exerr/exerr.go +++ b/exerr/exerr.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/rs/xid" "github.com/rs/zerolog" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "reflect" "strings" "time" diff --git a/exerr/exerr_test.go b/exerr/exerr_test.go index 5242c72..cf1fe6e 100644 --- a/exerr/exerr_test.go +++ b/exerr/exerr_test.go @@ -2,8 +2,8 @@ package exerr import ( "errors" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "os" "testing" ) diff --git a/exerr/gin.go b/exerr/gin.go index 9c9d64d..1a04422 100644 --- a/exerr/gin.go +++ b/exerr/gin.go @@ -2,8 +2,8 @@ package exerr import ( "github.com/gin-gonic/gin" - json "gogs.mikescher.com/BlackForestBytes/goext/gojson" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + json "git.blackforestbytes.com/BlackForestBytes/goext/gojson" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "net/http" "time" ) diff --git a/exerr/meta.go b/exerr/meta.go index 9279f52..789840c 100644 --- a/exerr/meta.go +++ b/exerr/meta.go @@ -8,7 +8,7 @@ import ( "github.com/rs/zerolog" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/bson/primitive" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "math" "strconv" "strings" diff --git a/exerr/typeWrapper.go b/exerr/typeWrapper.go index b1eff3c..0fa63da 100644 --- a/exerr/typeWrapper.go +++ b/exerr/typeWrapper.go @@ -4,8 +4,8 @@ import ( "encoding/json" "fmt" "github.com/rs/zerolog/log" - "gogs.mikescher.com/BlackForestBytes/goext/enums" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/enums" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "strings" ) diff --git a/ginext/commonMiddlewares.go b/ginext/commonMiddlewares.go index 4870428..1e22b45 100644 --- a/ginext/commonMiddlewares.go +++ b/ginext/commonMiddlewares.go @@ -2,7 +2,7 @@ package ginext import ( "github.com/gin-gonic/gin" - "gogs.mikescher.com/BlackForestBytes/goext/dataext" + "git.blackforestbytes.com/BlackForestBytes/goext/dataext" ) func BodyBuffer(g *gin.Context) { diff --git a/ginext/engine.go b/ginext/engine.go index e2c886e..94e29ca 100644 --- a/ginext/engine.go +++ b/ginext/engine.go @@ -4,9 +4,9 @@ import ( "fmt" "github.com/gin-gonic/gin" "github.com/rs/zerolog/log" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/mathext" - "gogs.mikescher.com/BlackForestBytes/goext/rext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/mathext" + "git.blackforestbytes.com/BlackForestBytes/goext/rext" "net" "net/http" "net/http/httptest" diff --git a/ginext/funcWrapper.go b/ginext/funcWrapper.go index 1343065..6716efd 100644 --- a/ginext/funcWrapper.go +++ b/ginext/funcWrapper.go @@ -3,7 +3,7 @@ package ginext import ( "fmt" "github.com/gin-gonic/gin" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" ) type WHandlerFunc func(PreContext) HTTPResponse diff --git a/ginext/preContext.go b/ginext/preContext.go index b5eac36..298a289 100644 --- a/ginext/preContext.go +++ b/ginext/preContext.go @@ -6,9 +6,9 @@ import ( "fmt" "github.com/gin-gonic/gin" "github.com/gin-gonic/gin/binding" - "gogs.mikescher.com/BlackForestBytes/goext/dataext" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/dataext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "io" "runtime/debug" "time" diff --git a/ginext/response.go b/ginext/response.go index 27b1fb4..dbe0c8e 100644 --- a/ginext/response.go +++ b/ginext/response.go @@ -2,7 +2,7 @@ package ginext import ( "github.com/gin-gonic/gin" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" ) type cookieval struct { diff --git a/ginext/responseData.go b/ginext/responseData.go index dc5499c..f2c43a4 100644 --- a/ginext/responseData.go +++ b/ginext/responseData.go @@ -2,7 +2,7 @@ package ginext import ( "github.com/gin-gonic/gin" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) type dataHTTPResponse struct { diff --git a/ginext/responseDownload.go b/ginext/responseDownload.go index ad2a7a0..1d0a2f2 100644 --- a/ginext/responseDownload.go +++ b/ginext/responseDownload.go @@ -3,7 +3,7 @@ package ginext import ( "fmt" "github.com/gin-gonic/gin" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) type downloadDataHTTPResponse struct { diff --git a/ginext/responseEmpty.go b/ginext/responseEmpty.go index 7baa2b8..91c8edd 100644 --- a/ginext/responseEmpty.go +++ b/ginext/responseEmpty.go @@ -2,7 +2,7 @@ package ginext import ( "github.com/gin-gonic/gin" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) type emptyHTTPResponse struct { diff --git a/ginext/responseFile.go b/ginext/responseFile.go index 0025489..1d79941 100644 --- a/ginext/responseFile.go +++ b/ginext/responseFile.go @@ -3,7 +3,7 @@ package ginext import ( "fmt" "github.com/gin-gonic/gin" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "os" ) diff --git a/ginext/responseJson.go b/ginext/responseJson.go index 42a6f68..b31b7de 100644 --- a/ginext/responseJson.go +++ b/ginext/responseJson.go @@ -2,8 +2,8 @@ package ginext import ( "github.com/gin-gonic/gin" - json "gogs.mikescher.com/BlackForestBytes/goext/gojson" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + json "git.blackforestbytes.com/BlackForestBytes/goext/gojson" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) type jsonHTTPResponse struct { diff --git a/ginext/responseJsonAPI.go b/ginext/responseJsonAPI.go index 5700f20..bbae738 100644 --- a/ginext/responseJsonAPI.go +++ b/ginext/responseJsonAPI.go @@ -3,8 +3,8 @@ package ginext import ( "context" "github.com/gin-gonic/gin" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) type jsonAPIErrResponse struct { diff --git a/ginext/responseRedirect.go b/ginext/responseRedirect.go index 4b401a9..f4568a1 100644 --- a/ginext/responseRedirect.go +++ b/ginext/responseRedirect.go @@ -2,7 +2,7 @@ package ginext import ( "github.com/gin-gonic/gin" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) type redirectHTTPResponse struct { diff --git a/ginext/responseSeekable.go b/ginext/responseSeekable.go index d754212..b8037c8 100644 --- a/ginext/responseSeekable.go +++ b/ginext/responseSeekable.go @@ -2,8 +2,8 @@ package ginext import ( "github.com/gin-gonic/gin" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "io" "net/http" "time" diff --git a/ginext/responseText.go b/ginext/responseText.go index 83812ed..9faf560 100644 --- a/ginext/responseText.go +++ b/ginext/responseText.go @@ -2,7 +2,7 @@ package ginext import ( "github.com/gin-gonic/gin" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) type textHTTPResponse struct { diff --git a/ginext/routes.go b/ginext/routes.go index bac2558..2541ef3 100644 --- a/ginext/routes.go +++ b/ginext/routes.go @@ -2,7 +2,7 @@ package ginext import ( "github.com/gin-gonic/gin" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "net/http" "path" "reflect" diff --git a/go.mod b/go.mod index fa0ec0c..b48e824 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gogs.mikescher.com/BlackForestBytes/goext +module git.blackforestbytes.com/BlackForestBytes/goext go 1.23.0 diff --git a/goextVersion.go b/goextVersion.go index ccfc6a5..5ef5d7e 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.571" +const GoextVersion = "0.0.572" -const GoextVersionTimestamp = "2025-04-30T21:06:24+0200" +const GoextVersionTimestamp = "2025-05-03T16:41:43+0200" diff --git a/googleapi/mimeMessage.go b/googleapi/mimeMessage.go index a5a4d7b..71c8356 100644 --- a/googleapi/mimeMessage.go +++ b/googleapi/mimeMessage.go @@ -1,7 +1,7 @@ package googleapi import ( - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "mime" "strings" "time" diff --git a/googleapi/mimeMessage_test.go b/googleapi/mimeMessage_test.go index 6294330..8f896a7 100644 --- a/googleapi/mimeMessage_test.go +++ b/googleapi/mimeMessage_test.go @@ -1,7 +1,7 @@ package googleapi import ( - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "os" "testing" ) diff --git a/googleapi/oAuth.go b/googleapi/oAuth.go index fc3c051..a52beec 100644 --- a/googleapi/oAuth.go +++ b/googleapi/oAuth.go @@ -3,9 +3,9 @@ package googleapi import ( "encoding/json" "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/timeext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/timeext" "io" "net/http" "sync" diff --git a/googleapi/sendMail.go b/googleapi/sendMail.go index db03601..3b9e74c 100644 --- a/googleapi/sendMail.go +++ b/googleapi/sendMail.go @@ -6,9 +6,9 @@ import ( "encoding/base64" "encoding/json" "fmt" - "gogs.mikescher.com/BlackForestBytes/goext" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "io" "net/http" ) diff --git a/googleapi/sendMail_test.go b/googleapi/sendMail_test.go index 9856d62..ae9ab0f 100644 --- a/googleapi/sendMail_test.go +++ b/googleapi/sendMail_test.go @@ -3,9 +3,9 @@ package googleapi import ( "context" "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "os" "testing" ) diff --git a/imageext/enums_gen.go b/imageext/enums_gen.go index 52e4e4f..a7e171a 100644 --- a/imageext/enums_gen.go +++ b/imageext/enums_gen.go @@ -2,8 +2,8 @@ package imageext -import "gogs.mikescher.com/BlackForestBytes/goext/langext" -import "gogs.mikescher.com/BlackForestBytes/goext/enums" +import "git.blackforestbytes.com/BlackForestBytes/goext/langext" +import "git.blackforestbytes.com/BlackForestBytes/goext/enums" const ChecksumEnumGenerator = "1da5383c33ee442fd0b899369053f66bdc85bed2dbf906949d3edfeedfe13340" // GoExtVersion: 0.0.449 diff --git a/imageext/image.go b/imageext/image.go index 1fd16a0..b74ca38 100644 --- a/imageext/image.go +++ b/imageext/image.go @@ -4,8 +4,8 @@ import ( "bytes" "fmt" "github.com/disintegration/imaging" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/mathext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/mathext" "image" "image/color" "image/draw" diff --git a/langext/array_test.go b/langext/array_test.go index 7189b6c..7af98df 100644 --- a/langext/array_test.go +++ b/langext/array_test.go @@ -1,7 +1,7 @@ package langext import ( - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "strings" "testing" ) diff --git a/langext/base58_test.go b/langext/base58_test.go index da6ae23..e17c820 100644 --- a/langext/base58_test.go +++ b/langext/base58_test.go @@ -1,7 +1,7 @@ package langext import ( - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "testing" ) diff --git a/langext/baseAny_test.go b/langext/baseAny_test.go index cbe2f86..b4812d8 100644 --- a/langext/baseAny_test.go +++ b/langext/baseAny_test.go @@ -1,7 +1,7 @@ package langext import ( - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "testing" ) diff --git a/langext/url_test.go b/langext/url_test.go index 173c4f7..cb7a969 100644 --- a/langext/url_test.go +++ b/langext/url_test.go @@ -1,7 +1,7 @@ package langext import ( - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "testing" ) diff --git a/mathext/clamp.go b/mathext/clamp.go index a4addb2..bfddc97 100644 --- a/mathext/clamp.go +++ b/mathext/clamp.go @@ -1,6 +1,6 @@ package mathext -import "gogs.mikescher.com/BlackForestBytes/goext/langext" +import "git.blackforestbytes.com/BlackForestBytes/goext/langext" func ClampInt(v int, lo int, hi int) int { if v < lo { diff --git a/mathext/math.go b/mathext/math.go index 105dc06..d07b339 100644 --- a/mathext/math.go +++ b/mathext/math.go @@ -1,6 +1,6 @@ package mathext -import "gogs.mikescher.com/BlackForestBytes/goext/langext" +import "git.blackforestbytes.com/BlackForestBytes/goext/langext" func AvgFloat64(arr []float64) float64 { return SumFloat64(arr) / float64(len(arr)) diff --git a/mathext/statistics.go b/mathext/statistics.go index 65f5db3..cd6f6ff 100644 --- a/mathext/statistics.go +++ b/mathext/statistics.go @@ -1,8 +1,8 @@ package mathext import ( - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) func Sum[T langext.NumberConstraint](v []T) T { diff --git a/mongoext/registry.go b/mongoext/registry.go index 623415b..889adf9 100644 --- a/mongoext/registry.go +++ b/mongoext/registry.go @@ -5,9 +5,9 @@ import ( "go.mongodb.org/mongo-driver/bson/bsoncodec" "go.mongodb.org/mongo-driver/bson/bsontype" "go.mongodb.org/mongo-driver/bson/primitive" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/rfctime" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/rfctime" "reflect" ) diff --git a/reflectext/convertToMap.go b/reflectext/convertToMap.go index 289c773..eeffb09 100644 --- a/reflectext/convertToMap.go +++ b/reflectext/convertToMap.go @@ -2,7 +2,7 @@ package reflectext import ( "encoding/json" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "reflect" "strings" ) diff --git a/reflectext/convertToMap_test.go b/reflectext/convertToMap_test.go index 2ea2641..9f2d8eb 100644 --- a/reflectext/convertToMap_test.go +++ b/reflectext/convertToMap_test.go @@ -2,7 +2,7 @@ package reflectext import ( "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "testing" "time" ) diff --git a/reflectext/mapAccess_test.go b/reflectext/mapAccess_test.go index 589c50a..acd9e2a 100644 --- a/reflectext/mapAccess_test.go +++ b/reflectext/mapAccess_test.go @@ -2,7 +2,7 @@ package reflectext import ( "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "testing" ) diff --git a/reflectext/primStrSer.go b/reflectext/primStrSer.go index 5f1c0ff..67a3d2d 100644 --- a/reflectext/primStrSer.go +++ b/reflectext/primStrSer.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" "go.mongodb.org/mongo-driver/bson/primitive" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "reflect" "strconv" "strings" diff --git a/reflectext/primitiveStringSerializer.go b/reflectext/primitiveStringSerializer.go index 16b9f90..1ba723e 100644 --- a/reflectext/primitiveStringSerializer.go +++ b/reflectext/primitiveStringSerializer.go @@ -3,7 +3,7 @@ package reflectext import ( "errors" "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "reflect" ) diff --git a/reflectext/structAccess.go b/reflectext/structAccess.go index e3c8c89..b2c340d 100644 --- a/reflectext/structAccess.go +++ b/reflectext/structAccess.go @@ -2,7 +2,7 @@ package reflectext import ( "errors" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "reflect" "strconv" "strings" diff --git a/rext/wrapper.go b/rext/wrapper.go index e6b1356..f4be507 100644 --- a/rext/wrapper.go +++ b/rext/wrapper.go @@ -1,7 +1,7 @@ package rext import ( - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "regexp" ) diff --git a/rext/wrapper_test.go b/rext/wrapper_test.go index 6fed447..48c9883 100644 --- a/rext/wrapper_test.go +++ b/rext/wrapper_test.go @@ -1,7 +1,7 @@ package rext import ( - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "regexp" "testing" ) diff --git a/rfctime/interface_test.go b/rfctime/interface_test.go index d8d0c5c..d0cab10 100644 --- a/rfctime/interface_test.go +++ b/rfctime/interface_test.go @@ -1,7 +1,7 @@ package rfctime import ( - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "testing" "time" ) diff --git a/rfctime/rfc3339.go b/rfctime/rfc3339.go index 26e2a7a..c3b5ff0 100644 --- a/rfctime/rfc3339.go +++ b/rfctime/rfc3339.go @@ -8,7 +8,7 @@ import ( "go.mongodb.org/mongo-driver/bson/bsoncodec" "go.mongodb.org/mongo-driver/bson/bsonrw" "go.mongodb.org/mongo-driver/bson/bsontype" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "reflect" "time" ) diff --git a/rfctime/rfc3339Nano.go b/rfctime/rfc3339Nano.go index b69ed8c..5ef7430 100644 --- a/rfctime/rfc3339Nano.go +++ b/rfctime/rfc3339Nano.go @@ -8,7 +8,7 @@ import ( "go.mongodb.org/mongo-driver/bson/bsoncodec" "go.mongodb.org/mongo-driver/bson/bsonrw" "go.mongodb.org/mongo-driver/bson/bsontype" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "reflect" "time" ) diff --git a/rfctime/rfc3339Nano_test.go b/rfctime/rfc3339Nano_test.go index b63e154..fe6fb9e 100644 --- a/rfctime/rfc3339Nano_test.go +++ b/rfctime/rfc3339Nano_test.go @@ -2,8 +2,8 @@ package rfctime import ( "encoding/json" - "gogs.mikescher.com/BlackForestBytes/goext/timeext" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/timeext" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "testing" "time" ) diff --git a/rfctime/seconds.go b/rfctime/seconds.go index f3f8013..fdb6668 100644 --- a/rfctime/seconds.go +++ b/rfctime/seconds.go @@ -8,7 +8,7 @@ import ( "go.mongodb.org/mongo-driver/bson/bsoncodec" "go.mongodb.org/mongo-driver/bson/bsonrw" "go.mongodb.org/mongo-driver/bson/bsontype" - "gogs.mikescher.com/BlackForestBytes/goext/timeext" + "git.blackforestbytes.com/BlackForestBytes/goext/timeext" "reflect" "time" ) diff --git a/rfctime/time.go b/rfctime/time.go index d5aa4f1..de06886 100644 --- a/rfctime/time.go +++ b/rfctime/time.go @@ -2,7 +2,7 @@ package rfctime import ( "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "strconv" "strings" "time" diff --git a/rfctime/unix.go b/rfctime/unix.go index 6c0daa9..1030d06 100644 --- a/rfctime/unix.go +++ b/rfctime/unix.go @@ -8,7 +8,7 @@ import ( "go.mongodb.org/mongo-driver/bson/bsoncodec" "go.mongodb.org/mongo-driver/bson/bsonrw" "go.mongodb.org/mongo-driver/bson/bsontype" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "reflect" "strconv" "time" diff --git a/rfctime/unixMilli.go b/rfctime/unixMilli.go index 0fe08d9..6fa48c1 100644 --- a/rfctime/unixMilli.go +++ b/rfctime/unixMilli.go @@ -8,7 +8,7 @@ import ( "go.mongodb.org/mongo-driver/bson/bsoncodec" "go.mongodb.org/mongo-driver/bson/bsonrw" "go.mongodb.org/mongo-driver/bson/bsontype" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "reflect" "strconv" "time" diff --git a/rfctime/unixNano.go b/rfctime/unixNano.go index 710b499..44fca52 100644 --- a/rfctime/unixNano.go +++ b/rfctime/unixNano.go @@ -8,7 +8,7 @@ import ( "go.mongodb.org/mongo-driver/bson/bsoncodec" "go.mongodb.org/mongo-driver/bson/bsonrw" "go.mongodb.org/mongo-driver/bson/bsontype" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "reflect" "strconv" "time" diff --git a/scn/send.go b/scn/send.go index a446576..644e5ea 100644 --- a/scn/send.go +++ b/scn/send.go @@ -3,9 +3,9 @@ package scn import ( "bytes" "context" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - json "gogs.mikescher.com/BlackForestBytes/goext/gojson" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + json "git.blackforestbytes.com/BlackForestBytes/goext/gojson" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "io" "net/http" "time" diff --git a/sq/builder.go b/sq/builder.go index f337d53..95e65cf 100644 --- a/sq/builder.go +++ b/sq/builder.go @@ -3,7 +3,7 @@ package sq import ( "errors" "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" "reflect" "strings" ) diff --git a/sq/builder_test.go b/sq/builder_test.go index 2e3bd7c..26811cb 100644 --- a/sq/builder_test.go +++ b/sq/builder_test.go @@ -7,8 +7,8 @@ import ( "fmt" "github.com/glebarez/go-sqlite" "github.com/jmoiron/sqlx" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "path/filepath" "testing" ) diff --git a/sq/converter.go b/sq/converter.go index a85c2a5..552daac 100644 --- a/sq/converter.go +++ b/sq/converter.go @@ -3,7 +3,7 @@ package sq import ( "errors" "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "reflect" ) diff --git a/sq/converterDefault.go b/sq/converterDefault.go index e791a0a..19c4c34 100644 --- a/sq/converterDefault.go +++ b/sq/converterDefault.go @@ -3,10 +3,10 @@ package sq import ( "errors" "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/rfctime" - "gogs.mikescher.com/BlackForestBytes/goext/timeext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/rfctime" + "git.blackforestbytes.com/BlackForestBytes/goext/timeext" "time" ) diff --git a/sq/database.go b/sq/database.go index 2059a2c..446c467 100644 --- a/sq/database.go +++ b/sq/database.go @@ -4,8 +4,8 @@ import ( "context" "database/sql" "github.com/jmoiron/sqlx" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "sync" "time" ) diff --git a/sq/filter.go b/sq/filter.go index c486292..97ce46e 100644 --- a/sq/filter.go +++ b/sq/filter.go @@ -1,6 +1,6 @@ package sq -import ct "gogs.mikescher.com/BlackForestBytes/goext/cursortoken" +import ct "git.blackforestbytes.com/BlackForestBytes/goext/cursortoken" type FilterSort struct { Field string diff --git a/sq/hasher.go b/sq/hasher.go index e483490..c3b78fa 100644 --- a/sq/hasher.go +++ b/sq/hasher.go @@ -7,7 +7,7 @@ import ( "encoding/json" "fmt" "github.com/jmoiron/sqlx" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "os" "path/filepath" "strings" diff --git a/sq/list.go b/sq/list.go index e5db344..15c9ea2 100644 --- a/sq/list.go +++ b/sq/list.go @@ -3,7 +3,7 @@ package sq import ( "context" "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" ) func Iterate[TData any](ctx context.Context, q Queryable, table string, filter PaginateFilter, scanMode StructScanMode, scanSec StructScanSafety, page int, limit *int, consumer func(ctx context.Context, v TData) error) (int, error) { diff --git a/sq/main_test.go b/sq/main_test.go index ffea457..f9b34c1 100644 --- a/sq/main_test.go +++ b/sq/main_test.go @@ -1,8 +1,8 @@ package sq import ( - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "os" "testing" ) diff --git a/sq/paginate.go b/sq/paginate.go index e0fac2f..7be08a4 100644 --- a/sq/paginate.go +++ b/sq/paginate.go @@ -3,9 +3,9 @@ package sq import ( "context" "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - pag "gogs.mikescher.com/BlackForestBytes/goext/pagination" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + pag "git.blackforestbytes.com/BlackForestBytes/goext/pagination" ) func Paginate[TData any](ctx context.Context, q Queryable, table string, filter PaginateFilter, scanMode StructScanMode, scanSec StructScanSafety, page int, limit *int) ([]TData, pag.Pagination, error) { diff --git a/sq/params.go b/sq/params.go index 2e4c915..68d253f 100644 --- a/sq/params.go +++ b/sq/params.go @@ -1,6 +1,6 @@ package sq -import "gogs.mikescher.com/BlackForestBytes/goext/langext" +import "git.blackforestbytes.com/BlackForestBytes/goext/langext" type PP map[string]any diff --git a/sq/scanner.go b/sq/scanner.go index 3eb3cc7..3a694e4 100644 --- a/sq/scanner.go +++ b/sq/scanner.go @@ -6,8 +6,8 @@ import ( "errors" "fmt" "github.com/jmoiron/sqlx" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "reflect" ) diff --git a/sq/scanner_test.go b/sq/scanner_test.go index 7b622a1..0075fe8 100644 --- a/sq/scanner_test.go +++ b/sq/scanner_test.go @@ -6,8 +6,8 @@ import ( "fmt" "github.com/glebarez/go-sqlite" "github.com/jmoiron/sqlx" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "path/filepath" "testing" ) diff --git a/sq/sq_test.go b/sq/sq_test.go index 217fb64..e373839 100644 --- a/sq/sq_test.go +++ b/sq/sq_test.go @@ -6,9 +6,9 @@ import ( "fmt" "github.com/glebarez/go-sqlite" "github.com/jmoiron/sqlx" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/rfctime" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/rfctime" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "os" "path/filepath" "testing" diff --git a/sq/structscanner.go b/sq/structscanner.go index 58aa778..59580e6 100644 --- a/sq/structscanner.go +++ b/sq/structscanner.go @@ -5,7 +5,7 @@ import ( "fmt" "github.com/jmoiron/sqlx" "github.com/jmoiron/sqlx/reflectx" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "reflect" "strings" ) diff --git a/sq/transaction.go b/sq/transaction.go index 44bee4d..da1ccd1 100644 --- a/sq/transaction.go +++ b/sq/transaction.go @@ -4,8 +4,8 @@ import ( "context" "database/sql" "github.com/jmoiron/sqlx" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "time" ) diff --git a/syncext/bool.go b/syncext/bool.go index 9c482ec..2ffe763 100644 --- a/syncext/bool.go +++ b/syncext/bool.go @@ -2,7 +2,7 @@ package syncext import ( "context" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "sync" "time" ) diff --git a/termext/termcolor_test.go b/termext/termcolor_test.go index 5eb47c6..d258aaf 100644 --- a/termext/termcolor_test.go +++ b/termext/termcolor_test.go @@ -1,7 +1,7 @@ package termext import ( - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "math/rand" "testing" ) diff --git a/timeext/calendarweek_test.go b/timeext/calendarweek_test.go index 9fbab0a..540bd48 100644 --- a/timeext/calendarweek_test.go +++ b/timeext/calendarweek_test.go @@ -1,7 +1,7 @@ package timeext import ( - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "testing" "time" ) diff --git a/timeext/duration.go b/timeext/duration.go index cbc2495..2c13629 100644 --- a/timeext/duration.go +++ b/timeext/duration.go @@ -2,7 +2,7 @@ package timeext import ( "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "time" ) diff --git a/wmo/collection.go b/wmo/collection.go index 2cc92a4..7d0c2f8 100644 --- a/wmo/collection.go +++ b/wmo/collection.go @@ -4,9 +4,9 @@ import ( "context" "go.mongodb.org/mongo-driver/bson/bsontype" "go.mongodb.org/mongo-driver/mongo" - ct "gogs.mikescher.com/BlackForestBytes/goext/cursortoken" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + ct "git.blackforestbytes.com/BlackForestBytes/goext/cursortoken" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "reflect" ) diff --git a/wmo/decoding.go b/wmo/decoding.go index a60d107..d2357ff 100644 --- a/wmo/decoding.go +++ b/wmo/decoding.go @@ -3,7 +3,7 @@ package wmo import ( "context" "go.mongodb.org/mongo-driver/bson" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" ) func (c *Coll[TData]) decodeSingle(ctx context.Context, dec Decodable) (TData, error) { diff --git a/wmo/queryAggregate.go b/wmo/queryAggregate.go index 2c8e2c1..d82e97c 100644 --- a/wmo/queryAggregate.go +++ b/wmo/queryAggregate.go @@ -4,8 +4,8 @@ import ( "context" "go.mongodb.org/mongo-driver/mongo" "go.mongodb.org/mongo-driver/mongo/options" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) func (c *Coll[TData]) Aggregate(ctx context.Context, pipeline mongo.Pipeline, opts ...*options.AggregateOptions) ([]TData, error) { diff --git a/wmo/queryDelete.go b/wmo/queryDelete.go index 5c575d7..ce7de70 100644 --- a/wmo/queryDelete.go +++ b/wmo/queryDelete.go @@ -4,7 +4,7 @@ import ( "context" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/mongo" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" ) func (c *Coll[TData]) DeleteOneByID(ctx context.Context, id EntityID) error { diff --git a/wmo/queryFind.go b/wmo/queryFind.go index 16c084d..f2046c9 100644 --- a/wmo/queryFind.go +++ b/wmo/queryFind.go @@ -5,8 +5,8 @@ import ( "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/mongo" "go.mongodb.org/mongo-driver/mongo/options" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "iter" ) diff --git a/wmo/queryFindOne.go b/wmo/queryFindOne.go index 55212b6..337d216 100644 --- a/wmo/queryFindOne.go +++ b/wmo/queryFindOne.go @@ -5,8 +5,8 @@ import ( "errors" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/mongo" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) func (c *Coll[TData]) FindOne(ctx context.Context, filter bson.M) (TData, error) { diff --git a/wmo/queryInsert.go b/wmo/queryInsert.go index 3e8bdc3..26be43a 100644 --- a/wmo/queryInsert.go +++ b/wmo/queryInsert.go @@ -4,8 +4,8 @@ import ( "context" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/mongo" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) func (c *Coll[TData]) InsertOne(ctx context.Context, valueIn TData) (TData, error) { diff --git a/wmo/queryList.go b/wmo/queryList.go index 0b5b338..6a07b6c 100644 --- a/wmo/queryList.go +++ b/wmo/queryList.go @@ -4,9 +4,9 @@ import ( "context" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/mongo" - ct "gogs.mikescher.com/BlackForestBytes/goext/cursortoken" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + ct "git.blackforestbytes.com/BlackForestBytes/goext/cursortoken" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "iter" ) diff --git a/wmo/queryPaginate.go b/wmo/queryPaginate.go index ebad579..ac0f552 100644 --- a/wmo/queryPaginate.go +++ b/wmo/queryPaginate.go @@ -4,9 +4,9 @@ import ( "context" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/mongo" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - pag "gogs.mikescher.com/BlackForestBytes/goext/pagination" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + pag "git.blackforestbytes.com/BlackForestBytes/goext/pagination" "iter" ) diff --git a/wmo/queryUpdate.go b/wmo/queryUpdate.go index 8cafea1..c757633 100644 --- a/wmo/queryUpdate.go +++ b/wmo/queryUpdate.go @@ -5,7 +5,7 @@ import ( "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/mongo" "go.mongodb.org/mongo-driver/mongo/options" - "gogs.mikescher.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" ) func (c *Coll[TData]) FindOneAndUpdate(ctx context.Context, filterQuery bson.M, updateQuery bson.M) (TData, error) { diff --git a/wmo/reflection.go b/wmo/reflection.go index f1cd280..ac2c275 100644 --- a/wmo/reflection.go +++ b/wmo/reflection.go @@ -1,9 +1,9 @@ package wmo import ( - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/reflectext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/reflectext" "reflect" "strings" ) diff --git a/wmo/reflection_test.go b/wmo/reflection_test.go index e5764c2..4df42e9 100644 --- a/wmo/reflection_test.go +++ b/wmo/reflection_test.go @@ -4,10 +4,10 @@ import ( "context" "go.mongodb.org/mongo-driver/bson/primitive" "go.mongodb.org/mongo-driver/mongo" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/rfctime" - "gogs.mikescher.com/BlackForestBytes/goext/timeext" - "gogs.mikescher.com/BlackForestBytes/goext/tst" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/rfctime" + "git.blackforestbytes.com/BlackForestBytes/goext/timeext" + "git.blackforestbytes.com/BlackForestBytes/goext/tst" "reflect" "testing" "time" diff --git a/wpdf/wpdf.go b/wpdf/wpdf.go index 0a3637d..c206ba1 100644 --- a/wpdf/wpdf.go +++ b/wpdf/wpdf.go @@ -3,7 +3,7 @@ package wpdf import ( "bytes" "github.com/jung-kurt/gofpdf" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) type WPDFBuilder struct { diff --git a/wpdf/wpdfCell.go b/wpdf/wpdfCell.go index e6a8074..79760ac 100644 --- a/wpdf/wpdfCell.go +++ b/wpdf/wpdfCell.go @@ -1,8 +1,8 @@ package wpdf import ( - "gogs.mikescher.com/BlackForestBytes/goext/dataext" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/dataext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) type PDFCellOpt struct { diff --git a/wpdf/wpdfImage.go b/wpdf/wpdfImage.go index 80d589a..19d2e1d 100644 --- a/wpdf/wpdfImage.go +++ b/wpdf/wpdfImage.go @@ -3,9 +3,9 @@ package wpdf import ( "bytes" "github.com/jung-kurt/gofpdf" - "gogs.mikescher.com/BlackForestBytes/goext/dataext" - "gogs.mikescher.com/BlackForestBytes/goext/imageext" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/dataext" + "git.blackforestbytes.com/BlackForestBytes/goext/imageext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "image" "image/color" "image/draw" diff --git a/wpdf/wpdfLine.go b/wpdf/wpdfLine.go index a3390ec..982ff9d 100644 --- a/wpdf/wpdfLine.go +++ b/wpdf/wpdfLine.go @@ -1,8 +1,8 @@ package wpdf import ( - "gogs.mikescher.com/BlackForestBytes/goext/dataext" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/dataext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) type PDFLineOpt struct { diff --git a/wpdf/wpdfMultiCell.go b/wpdf/wpdfMultiCell.go index 0300f76..74e99e3 100644 --- a/wpdf/wpdfMultiCell.go +++ b/wpdf/wpdfMultiCell.go @@ -1,8 +1,8 @@ package wpdf import ( - "gogs.mikescher.com/BlackForestBytes/goext/dataext" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/dataext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) type PDFMultiCellOpt struct { diff --git a/wpdf/wpdfRect.go b/wpdf/wpdfRect.go index 0ec70a9..4b3ae4d 100644 --- a/wpdf/wpdfRect.go +++ b/wpdf/wpdfRect.go @@ -1,8 +1,8 @@ package wpdf import ( - "gogs.mikescher.com/BlackForestBytes/goext/dataext" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/dataext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) type PDFRectOpt struct { diff --git a/wpdf/wpdfTable.go b/wpdf/wpdfTable.go index 1cff0b9..e2fea19 100644 --- a/wpdf/wpdfTable.go +++ b/wpdf/wpdfTable.go @@ -1,9 +1,9 @@ package wpdf import ( - "gogs.mikescher.com/BlackForestBytes/goext/exerr" - "gogs.mikescher.com/BlackForestBytes/goext/langext" - "gogs.mikescher.com/BlackForestBytes/goext/rext" + "git.blackforestbytes.com/BlackForestBytes/goext/exerr" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/rext" "regexp" "strconv" ) diff --git a/wpdf/wpdfTableCell.go b/wpdf/wpdfTableCell.go index cbda575..f0e7345 100644 --- a/wpdf/wpdfTableCell.go +++ b/wpdf/wpdfTableCell.go @@ -1,8 +1,8 @@ package wpdf import ( - "gogs.mikescher.com/BlackForestBytes/goext/dataext" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/dataext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" ) type TableCell struct { diff --git a/wpdf/wpdfTableRow.go b/wpdf/wpdfTableRow.go index 5e67a66..16ab027 100644 --- a/wpdf/wpdfTableRow.go +++ b/wpdf/wpdfTableRow.go @@ -1,6 +1,6 @@ package wpdf -import "gogs.mikescher.com/BlackForestBytes/goext/langext" +import "git.blackforestbytes.com/BlackForestBytes/goext/langext" type tableRow struct { cells []TableCell diff --git a/wpdf/wpdf_test.go b/wpdf/wpdf_test.go index 1a45b90..a001291 100644 --- a/wpdf/wpdf_test.go +++ b/wpdf/wpdf_test.go @@ -3,8 +3,8 @@ package wpdf import ( _ "embed" "fmt" - "gogs.mikescher.com/BlackForestBytes/goext/imageext" - "gogs.mikescher.com/BlackForestBytes/goext/langext" + "git.blackforestbytes.com/BlackForestBytes/goext/imageext" + "git.blackforestbytes.com/BlackForestBytes/goext/langext" "os" "path" "testing"