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