chore: use shortie as a internal package

This commit is contained in:
Tom Andrade 2022-05-16 11:04:31 +02:00
parent 9841b9d71a
commit 473deec7e9
Signed by: wolvie
GPG Key ID: 31AAB07872E82669
5 changed files with 7 additions and 4 deletions

6
go.mod
View File

@ -6,10 +6,12 @@ require (
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d
github.com/fasthttp/router v1.4.9
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/valyala/fasthttp v1.36.0
github.com/wolviecb/short/shortie v0.0.0-20220412102501-705312b4dffe
github.com/valyala/fasthttp v1.37.0
internal/shortie v0.0.0-00010101000000-000000000000
)
replace internal/shortie => ./internal/shortie
require (
github.com/andybalholm/brotli v1.0.4 // indirect
github.com/klauspost/compress v1.15.4 // indirect

View File

@ -1,4 +1,4 @@
module github.com/wolviecb/short/shortie
module shortie
go 1.18

View File

@ -11,8 +11,9 @@ import (
"strings"
"time"
"internal/shortie"
"github.com/valyala/fasthttp"
"github.com/wolviecb/short/shortie"
"github.com/asaskevich/govalidator"
"github.com/fasthttp/router"