refactor: Go Baseline
This commit is contained in:
7
handlers/contract.go
Normal file
7
handlers/contract.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package handlers
|
||||
|
||||
import "github.com/gofiber/fiber/v2"
|
||||
|
||||
func GenerateContract(c *fiber.Ctx) error {
|
||||
return c.SendString("Generate Contract")
|
||||
}
|
||||
7
handlers/util.go
Normal file
7
handlers/util.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package handlers
|
||||
|
||||
import "github.com/gofiber/fiber/v2"
|
||||
|
||||
func NotFoundHandler(c *fiber.Ctx) error {
|
||||
return c.Status(404).SendString("Not Found")
|
||||
}
|
||||
Reference in New Issue
Block a user