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