mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 06:00:55 +00:00
parent
6aaca2eca8
commit
d693ecf046
6
docs.go
6
docs.go
@ -21,10 +21,12 @@ import (
|
||||
)
|
||||
|
||||
// GlobalDocAPI store the swagger api documents
|
||||
var GlobalDocAPI map[string]interface{}=make(map[string]interface{})
|
||||
var GlobalDocAPI map[string]interface{}
|
||||
|
||||
func init() {
|
||||
|
||||
if EnableDocs {
|
||||
GlobalDocAPI = make(map[string]interface{})
|
||||
}
|
||||
}
|
||||
|
||||
func serverDocs(ctx *context.Context) {
|
||||
|
Loading…
Reference in New Issue
Block a user