chore: update module domain
This commit is contained in:
30
README.md
30
README.md
@@ -13,10 +13,10 @@ import (
|
||||
"slog"
|
||||
"time"
|
||||
|
||||
"forge.capytal.company/loreddev/smalltrip"
|
||||
"forge.capytal.company/loreddev/smalltrip/middleware"
|
||||
"forge.capytal.company/loreddev/smalltrip/multiplexer"
|
||||
"forge.capytal.company/loreddev/smalltrip/problem"
|
||||
"code.capytal.cc/loreddev/smalltrip"
|
||||
"code.capytal.cc/loreddev/smalltrip/middleware"
|
||||
"code.capytal.cc/loreddev/smalltrip/multiplexer"
|
||||
"code.capytal.cc/loreddev/smalltrip/problem"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -71,8 +71,8 @@ func main() {
|
||||
> **Here be dragons.**
|
||||
>
|
||||
> Smalltrip is still in very early development and is still a Work In Progress (WIP).
|
||||
> It is being dog-feed on [Capytal's](https://forge.capytal.company/capytalcode) and
|
||||
> [Lored's](https://forge.capytal.company/loreddev) projects, and most (if not all)
|
||||
> It is being dog-feed on [Capytal's](https://code.capytal.cc/capytalcode) and
|
||||
> [Lored's](https://code.capytal.cc/loreddev) projects, and most (if not all)
|
||||
> of the development is focused on creating features for said projects as they are needed.
|
||||
>
|
||||
> Expect bugs, incomplete documentation, and breaking changes if you are going to
|
||||
@@ -163,18 +163,18 @@ module example.com/package
|
||||
go 1.24.5
|
||||
|
||||
require (
|
||||
forge.capytal.company/loreddev/smalltrip v0.1.0
|
||||
code.capytal.cc/loreddev/smalltrip v0.1.0
|
||||
)
|
||||
```
|
||||
|
||||
And/or by using to `go get` command:
|
||||
|
||||
```sh
|
||||
go get -u forge.capytal.company/loreddev/smalltrip
|
||||
go get -u code.capytal.cc/loreddev/smalltrip
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
> The URL of the package `forge.capytal.company/loredev/smalltrip` **is subject to change in the coming
|
||||
> The URL of the package `code.capytal.cc/loredev/smalltrip` **is subject to change in the coming
|
||||
> future**, we are working on providing vanity URLs for our packages under a different schema.
|
||||
|
||||
Usage can be as simple as just using the provided router interface provided via the `NewRouter` method
|
||||
@@ -190,8 +190,8 @@ import (
|
||||
"slog"
|
||||
"time"
|
||||
|
||||
"forge.capytal.company/loreddev/smalltrip"
|
||||
"forge.capytal.company/loreddev/smalltrip/middleware"
|
||||
"code.capytal.cc/loreddev/smalltrip"
|
||||
"code.capytal.cc/loreddev/smalltrip/middleware"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -226,8 +226,8 @@ import (
|
||||
"slog"
|
||||
"time"
|
||||
|
||||
"forge.capytal.company/loreddev/smalltrip"
|
||||
"forge.capytal.company/loreddev/smalltrip/multiplexer"
|
||||
"code.capytal.cc/loreddev/smalltrip"
|
||||
"code.capytal.cc/loreddev/smalltrip/multiplexer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -273,12 +273,12 @@ due to time and human power limitations on our end, we prefer to not accept bug
|
||||
without being able to properly provide maintenance and moderation.
|
||||
|
||||
Community reported issues and features requests via GitHub and alike are disabled, the package is
|
||||
provided as is with it's [known bugs and missing features](https://forge.capytal.company/loreddev/smalltrip/issues)
|
||||
provided as is with it's [known bugs and missing features](https://code.capytal.cc/loreddev/smalltrip/issues)
|
||||
|
||||
You can still create pull requests, but it may just be rejected without further acknowledgment if
|
||||
we judge it as not directly aligned with our goals to the project.
|
||||
|
||||
The canonical source-code is [located at our forge](https://forge.capytal.company/loreddev/smalltrip),
|
||||
The canonical source-code is [located at our forge](https://code.capytal.cc/loreddev/smalltrip),
|
||||
and changes goes downstream to [the GitHub mirror](https://github.com/loreddev/smalltrip).
|
||||
|
||||
## Licenses
|
||||
|
||||
2
go.mod
2
go.mod
@@ -13,6 +13,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
module forge.capytal.company/loreddev/smalltrip
|
||||
module code.capytal.cc/loreddev/smalltrip
|
||||
|
||||
go 1.24.5
|
||||
|
||||
@@ -18,8 +18,8 @@ package smalltrip
|
||||
import (
|
||||
"log/slog"
|
||||
|
||||
"forge.capytal.company/loreddev/smalltrip/middleware"
|
||||
"forge.capytal.company/loreddev/smalltrip/multiplexer"
|
||||
"code.capytal.cc/loreddev/smalltrip/middleware"
|
||||
"code.capytal.cc/loreddev/smalltrip/multiplexer"
|
||||
)
|
||||
|
||||
type Option func(*router)
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"forge.capytal.company/loreddev/smalltrip/middleware"
|
||||
"code.capytal.cc/loreddev/smalltrip/middleware"
|
||||
)
|
||||
|
||||
type ContextKey string
|
||||
|
||||
@@ -19,7 +19,7 @@ import (
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"forge.capytal.company/loreddev/smalltrip/multiplexer"
|
||||
"code.capytal.cc/loreddev/smalltrip/multiplexer"
|
||||
)
|
||||
|
||||
func Multiplexer(m multiplexer.Multiplexer, opts ...MultiplexerOption) multiplexer.Multiplexer {
|
||||
|
||||
@@ -23,8 +23,8 @@ import (
|
||||
"reflect"
|
||||
"runtime"
|
||||
|
||||
"forge.capytal.company/loreddev/smalltrip/middleware"
|
||||
"forge.capytal.company/loreddev/smalltrip/multiplexer"
|
||||
"code.capytal.cc/loreddev/smalltrip/middleware"
|
||||
"code.capytal.cc/loreddev/smalltrip/multiplexer"
|
||||
)
|
||||
|
||||
type Router interface {
|
||||
|
||||
Reference in New Issue
Block a user