first try
This commit is contained in:
17
wagfarm-api/routes/log/harvest.go
Normal file
17
wagfarm-api/routes/log/harvest.go
Normal file
@@ -0,0 +1,17 @@
|
||||
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) {
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user