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
5d392b76
authored
2014-03-14 10:08:47 +0800
by
astaxie
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #531 from unphp/develop
Update router.go
2 parents
c6a34b8e
43c977ab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
router.go
router.go
View file @
5d392b7
...
...
@@ -44,6 +44,11 @@ var (
"GetControllerAndAction"
}
)
// To append a slice's value into "exceptMethod", for controller's methods shouldn't reflect to AutoRouter
func
ExceptMethodAppend
(
action
string
)
{
exceptMethod
=
append
(
exceptMethod
,
action
)
}
type
controllerInfo
struct
{
pattern
string
regex
*
regexp
.
Regexp
...
...
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