1 Star 1 Fork 6

infraboard/go-share-examples

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.go 288 Bytes
一键复制 编辑 原始数据 按行查看 历史
Mr.Yu 提交于 2021-12-06 23:55 +08:00 . rpc plus
package main
import (
"log"
"net/http"
"gitee.com/infraboard/go-share-examples/http-call/order/handler"
"github.com/julienschmidt/httprouter"
)
func main() {
router := httprouter.New()
router.POST("/order", handler.CreateOrder)
log.Fatal(http.ListenAndServe(":8090", router))
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/infraboard/go-share-examples.git
git@gitee.com:infraboard/go-share-examples.git
infraboard
go-share-examples
go-share-examples
f243a2248fe7

搜索帮助