Not working on a gin-gonic project
landru29 opened this issue · 2 comments
landru29 commented
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
mikunalpha commented
Some files of package golang.org/x/net/context will cause that message because they import context.
leoswaldo commented
you can use -ignore "context"
in the command line