1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-16 15:13:33 +00:00

gofmt -s -w

This commit is contained in:
astaxie 2016-03-11 13:00:58 +08:00
parent 40b41cc121
commit 83fe43f331
3 changed files with 3 additions and 4 deletions

View File

@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package logs
import (

View File

@ -141,7 +141,7 @@ func (t *Tree) addtree(segments []string, tree *Tree, wildcards []string, reg st
regexpStr = "([^.]+).(.+)"
params = params[1:]
} else {
for _ = range params {
for range params {
regexpStr = "([^/]+)/" + regexpStr
}
}
@ -254,7 +254,7 @@ func (t *Tree) addseg(segments []string, route interface{}, wildcards []string,
regexpStr = "/([^.]+).(.+)"
params = params[1:]
} else {
for _ = range params {
for range params {
regexpStr = "/([^/]+)" + regexpStr
}
}