vegan-barcode/internal/controllers/routes.go
2025-04-08 19:11:23 -05:00

20 lines
362 B
Go

package main
import "github.com/gin-gonic/gin"
func main() {
router := gin.Default()
router.GET("/test", runTest)
// Search for item info
router.GET("/claims/{barcode}", runTest)
router.DELETE("/claims/{barcode}", runTest)
// Update item info
router.GET("/test", runTest)
// Add new item info
// Delete item (debug)
router.Run("localhost:8080")
}