24 lines
363 B
Go
24 lines
363 B
Go
package log
|
|
|
|
import (
|
|
"wagfarm-api/database"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func RegisterHarvestRoutes(router *gin.Engine) {
|
|
db := database.DB
|
|
|
|
router.GET("/harvest", func(c *gin.Context) {
|
|
})
|
|
|
|
router.POST("/harvest", func(c *gin.Context) {
|
|
})
|
|
router.PUT("/harvest", func(c *gin.Context) {
|
|
|
|
})
|
|
router.DELELTE("/harvest", func(c *gin.Context) {
|
|
|
|
})
|
|
}
|