Documentation ¶
Index ¶
Constants ¶
View Source
const EXT = ".swagger.json"
Variables ¶
View Source
var Doc *spec.Swagger
View Source
var FilePath = "./api/"
View Source
var PrefixUri = "/api-doc/"
Functions ¶
func HttpHandle ¶
func HttpHandle(w http.ResponseWriter, r *http.Request)
func WriteToFile ¶
func WriteToFile(realPath, modName string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.