摘要: 1 package main 2 3 import ( 4 "net/http" 5 "github.com/gin-gonic/gin" 6 ) 7 8 func main() { 9 r := gin.Default() 10 11 r.GET("/someDataFromReader", fu 阅读全文
posted @ 2020-01-16 21:29 尘归风 阅读(503) 评论(0) 推荐(0)
摘要: 1 package main 2 3 import ( 4 "fmt" 5 "net/http" 6 "path/filepath" 7 8 "github.com/gin-gonic/gin" 9 ) 10 11 func main() { 12 r := gin.Default() 13 // 阅读全文
posted @ 2020-01-16 20:06 尘归风 阅读(1013) 评论(0) 推荐(0)