🚧 Start setting up cobra commands

This commit is contained in:
Dan Jones 2023-03-24 10:38:45 -05:00
commit 6c90679130
4 changed files with 49 additions and 5 deletions

View file

@ -3,15 +3,20 @@ package main
import (
"log"
"codeberg.org/danjones000/gopub/commands"
"codeberg.org/danjones000/gopub/config"
"github.com/gofiber/fiber/v2"
)
func main() {
commands.Execute()
}
type passReq struct {
Pass string `json:"pass"`
}
func main() {
func mainOld() {
app := fiber.New()
conf := config.GetConfig()