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
1521842d
authored
2013-06-25 18:49:08 +0800
by
astaxie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add static global function & add seocms example
1 parent
b04813e4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
README.md
beego.go
README.md
View file @
1521842
...
...
@@ -38,4 +38,5 @@ beego is licensed under the Apache Licence, Version 2.0
## Use case
-
Displaying API documentation:
[
gowalker
](
https://github.com/Unknwon/gowalker
)
-
seocms:
[
seocms
](
https://github.com/chinakr/seocms
)
-
CMS:
[
toropress
](
https://github.com/insionng/toropress
)
...
...
beego.go
View file @
1521842
...
...
@@ -182,6 +182,11 @@ func SetStaticPath(url string, path string) *App {
return
BeeApp
}
func
DelStaticPath
(
url
string
)
*
App
{
delete
(
StaticDir
,
url
)
return
BeeApp
}
func
Filter
(
filter
http
.
HandlerFunc
)
*
App
{
BeeApp
.
Filter
(
filter
)
return
BeeApp
...
...
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