# README
swagger-ui-go
Provides http handler for swagger ui static files
Generate new swagger:
- Place new .js, .png, .html, .css files inside the folder
brew install go-bindata
or use newest https://github.com/kevinburke/go-bindatago-bindata -pkg swaggerui -o bindata.go *.css *.js *.png *.html
How to use:
mux.Mount("/swagger", http.StripPrefix("/swagger", swagger.HTTPHandler()))
# Functions
Asset loads and returns the asset for the given name.
AssetDir returns the file names below a certain directory embedded in the file by go-bindata.
AssetInfo loads and returns the asset info for the given name.
AssetNames returns the names of the assets.
HTTPHandler swagger-ui handler.
MustAsset is like Asset but panics when Asset would return an error.
RestoreAsset restores an asset under the given directory.
RestoreAssets restores an asset under the given directory recursively.