Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张磊
/
FileStorageBeego
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b16ef12a
authored
2013-11-26 14:13:23 +0800
by
astaxie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix test
1 parent
f9e732b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
filter.go
router_test.go
filter.go
View file @
b16ef12
...
...
@@ -9,6 +9,7 @@ type FilterRouter struct {
regex
*
regexp
.
Regexp
filterFunc
FilterFunc
hasregex
bool
params
map
[
int
]
string
}
func
(
mr
*
FilterRouter
)
ValidRouter
(
router
string
)
bool
{
...
...
router_test.go
View file @
b16ef12
...
...
@@ -20,7 +20,7 @@ func (this *TestController) List() {
}
func
(
this
*
TestController
)
Myext
()
{
this
.
Ctx
.
Output
.
Body
([]
byte
(
this
.
Ctx
.
Input
.
Param
s
(
":ext"
)))
this
.
Ctx
.
Output
.
Body
([]
byte
(
this
.
Ctx
.
Input
.
Param
(
":ext"
)))
}
func
(
this
*
TestController
)
GetUrl
()
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment