eddycjy / blog

煎鱼的博客,有点忙,传送门:https://eddycjy.com
3.05k stars 431 forks source link

在 swagger 使用的章节中缺失了 router 创建和 index.html 文件相关的说明 #40

Closed moooofly closed 5 years ago

moooofly commented 5 years ago

在 《3.8 为它加上Swagger》中缺失了针对 router 创建和 index.html 文件相关的说明,因此,按照教程访问时,只能得到 404 ;

moooofly commented 5 years ago

参考 https://github.com/EDDYCJY/go-gin-example/blob/dfa46b5fa6f35eab84a3f84502bfe6a6aa0c7b20/routers/router.go 知道