• astaxie's avatar
    support user define function · d5ddd0a9
    astaxie authored
    +//Add("/user",&UserController{})
    +//Add("/api/list",&RestController{},"*:ListFood")
    +//Add("/api/create",&RestController{},"post:CreateFood")
    +//Add("/api/update",&RestController{},"put:UpdateFood")
    +//Add("/api/delete",&RestController{},"delete:DeleteFood")
    +//Add("/api",&RestController{},"get,post:ApiFunc")
    +//Add("/simple",&SimpleController{},"get:GetFunc;post:PostFunc")
    d5ddd0a9
utils.go 5.58 KB