refactor: rename, move schemas to separate module

This commit is contained in:
DarkCat09 2024-06-14 16:16:40 +04:00
parent 56d5d992df
commit d5755ca1d8
Signed by: DarkCat09
GPG key ID: 0A26CD5B3345D6E3
3 changed files with 9 additions and 2 deletions

3
go.mod
View file

@ -1,8 +1,9 @@
module dc09.ru/piped
module git.dc09.ru/gopiped/frontend
go 1.22.0
require (
git.dc09.ru/gopiped/schema v0.0.0-20240614121310-7c66910b64d9 // indirect
github.com/andybalholm/brotli v1.1.0 // indirect
github.com/gofiber/fiber/v3 v3.0.0-beta.2 // indirect
github.com/gofiber/utils/v2 v2.0.0-beta.4 // indirect

2
go.sum
View file

@ -1,3 +1,5 @@
git.dc09.ru/gopiped/schema v0.0.0-20240614121310-7c66910b64d9 h1:U3Ro84v2ipAFfwktwCSb40Wu3/LgcE78tpyJWdQIWjg=
git.dc09.ru/gopiped/schema v0.0.0-20240614121310-7c66910b64d9/go.mod h1:MELbPcvICrcm9fee/pB57V+1GceEiDnZxyrU8/RbBTk=
github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M=
github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY=
github.com/gofiber/fiber/v3 v3.0.0-beta.2 h1:mVVgt8PTaHGup3NGl/+7U7nEoZaXJ5OComV4E+HpAao=

View file

@ -1,6 +1,10 @@
package main
import "github.com/gofiber/fiber/v3"
import (
"github.com/gofiber/fiber/v3"
"dc09.ru/piped/schema"
)
func main() {
app := fiber.New()