🚧 Start setting up cobra commands
This commit is contained in:
parent
c67e970b2f
commit
6c90679130
4 changed files with 49 additions and 5 deletions
7
main.go
7
main.go
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Reference in a new issue