diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..6371167 --- /dev/null +++ b/go.mod @@ -0,0 +1,18 @@ +// Copyright 2025-present Gustavo "Guz" L. de Mello +// Copyright 2025-present The Lored.dev Contributors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +module forge.capytal.company/loreddev/smalltrip + +go 1.24.5 diff --git a/options.go b/options.go index 0907ebd..424e837 100644 --- a/options.go +++ b/options.go @@ -18,8 +18,8 @@ package smalltrip import ( "log/slog" - "forge.capytal.company/loreddev/x/smalltrip/middleware" - "forge.capytal.company/loreddev/x/smalltrip/multiplexer" + "forge.capytal.company/loreddev/smalltrip/middleware" + "forge.capytal.company/loreddev/smalltrip/multiplexer" ) type Option func(*router) diff --git a/problem/middleware.go b/problem/middleware.go index aa56b77..7106f57 100644 --- a/problem/middleware.go +++ b/problem/middleware.go @@ -20,7 +20,7 @@ import ( "fmt" "net/http" - "forge.capytal.company/loreddev/x/smalltrip/middleware" + "forge.capytal.company/loreddev/smalltrip/middleware" ) type ContextKey string diff --git a/problem/multiplexer.go b/problem/multiplexer.go index 76d973f..8868212 100644 --- a/problem/multiplexer.go +++ b/problem/multiplexer.go @@ -19,7 +19,7 @@ import ( "net/http" "strings" - "forge.capytal.company/loreddev/x/smalltrip/multiplexer" + "forge.capytal.company/loreddev/smalltrip/multiplexer" ) func Multiplexer(m multiplexer.Multiplexer, opts ...MultiplexerOption) multiplexer.Multiplexer { diff --git a/smalltrip.go b/smalltrip.go index f34e513..f53a65c 100644 --- a/smalltrip.go +++ b/smalltrip.go @@ -23,8 +23,8 @@ import ( "reflect" "runtime" - "forge.capytal.company/loreddev/x/smalltrip/middleware" - "forge.capytal.company/loreddev/x/smalltrip/multiplexer" + "forge.capytal.company/loreddev/smalltrip/middleware" + "forge.capytal.company/loreddev/smalltrip/multiplexer" ) type Router interface {