refactor(swag): use swag package

This commit is contained in:
Eason Lin
2017-08-04 11:18:14 +08:00
parent 27e43b231e
commit 8eeaf9f74c
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
package docs
import (
"github.com/swaggo/swag/swagger"
"github.com/swaggo/swag"
)
var doc = `{
@@ -157,5 +157,5 @@ func (s *s) ReadDoc() string {
return doc
}
func init() {
swagger.Register(swagger.Name, &s{})
swag.Register(swag.Name, &s{})
}