From 16b4315fed045e92df2e8d874e7395701fc4738c Mon Sep 17 00:00:00 2001 From: John Date: Sat, 14 Apr 2018 12:44:32 +0800 Subject: [PATCH] README updates --- README.MD | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.MD b/README.MD index 76ab16a4f..dd7875650 100644 --- a/README.MD +++ b/README.MD @@ -271,14 +271,14 @@ go get -u gitee.com/johng/gf 优先级控制最主要的是两点因素,1、层级越深的规则优先级越高;2、命名匹配比模糊匹配优先级高。 我们来看示例(左边的规则优先级比右边高): - ``` - /user/name > /user/:action - /:name/info > /:name/:action - /:name/:action > /:name/*action - /src/path/del > /src/path - /src/path/del > /src/path/:action - /src/path/*any > /src/path - ``` +``` +/user/name > /user/:action +/:name/info > /:name/:action +/:name/:action > /:name/*action +/src/path/del > /src/path +/src/path/del > /src/path/:action +/src/path/*any > /src/path +``` 1. **数据库ORM**