Q1mi / BlogComments

9 stars 0 forks source link

如何使用Docker部署Go Web应用 | 李文周的博客 #196

Open Q1mi opened 1 year ago

Q1mi commented 1 year ago

https://www.liwenzhou.com/posts/Go/deploy-in-docker/

李文周的Blog docker 部署 go web 应用 dockerfile 容器 container 发布 虚拟化 docker-compose compose yml

zhangxu644838597 commented 1 year ago

这章完全懵逼了

todayVenturn commented 1 year ago

文章中举例的路由树好像写错了吧,根目录/优先级应该是8。 老师在文章中写了,优先级就是在子节点(子节点、子子节点等等)中注册的句柄的数量。这里一共才注册8个句柄,所以应该不可能是9吧。

Priority   Path             Handle
8          \                *<1>
2          ├s               nil
1          |├earch\         *<2>
1          |└upport\        *<3>
2          ├blog\           *<4>
1          |    └:post      nil
1          |         └\     *<5>
2          ├about-us\       *<6>
1          |        └team\  *<7>
1          └contact\        *<8>