-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathdoc.go
More file actions
27 lines (27 loc) · 769 Bytes
/
doc.go
File metadata and controls
27 lines (27 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Package swgui provide a http FileSystem handler for swagger UI interface
//
// File `bindata_assetfs.go` is generated by go-bindata-assetfs (https://github.com/elazarl/go-bindata-assetfs) tool,
// which help to embed all static files into a go source file.
//
// How to generate file:
//
// NOTE:
// * File `bindata_assetfs.go` ONLY need to re-generate file again when we update swagger-ui (swagger/ui/static)
//
// 1. Install tools:
//
// go get -u github.com/jteeuwen/go-bindata/...
// go get -u github.com/elazarl/go-bindata-assetfs/...
//
// 2. Generate file:
//
// At root folder, run command:
//
// go-bindata-assetfs -pkg=swgui static/...
// gofmt -w bindata_assetfs.go
//
// Or just run: `go generate`
//
// Enjoy it ;)
//
package swgui