yvasiyarov/swagger

Not working on a gin-gonic project

landru29 opened this issue · 2 comments

When launching the command

swagger -apiPackage=github.com/yy/xx -mainApiFile=main.go

2016/09/01 18:44:04 Start parsing
2016/09/01 18:44:04 Can not find package context

What is this package ? I do not use it in my project

Some files of package golang.org/x/net/context will cause that message because they import context.

you can use -ignore "context" in the command line