From d5755ca1d809fac42d59f30d7feceb97a9bb867d Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Fri, 14 Jun 2024 16:16:40 +0400 Subject: [PATCH] refactor: rename, move schemas to separate module --- go.mod | 3 ++- go.sum | 2 ++ main.go | 6 +++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 98b7bd1..d03ce3c 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index 261920f..35a87c4 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/main.go b/main.go index 7b51be8..5926109 100644 --- a/main.go +++ b/main.go @@ -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()