Fix build when using go modules (#6)
This commit is contained in:
parent
738c22b5f9
commit
321c0f2404
495 changed files with 140271 additions and 370 deletions
12
vendor/github.com/go-openapi/runtime/logger/logger.go
generated
vendored
Normal file
12
vendor/github.com/go-openapi/runtime/logger/logger.go
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
package logger
|
||||
|
||||
import "os"
|
||||
|
||||
type Logger interface {
|
||||
Printf(format string, args ...interface{})
|
||||
Debugf(format string, args ...interface{})
|
||||
}
|
||||
|
||||
func DebugEnabled() bool {
|
||||
return os.Getenv("SWAGGER_DEBUG") != "" || os.Getenv("DEBUG") != ""
|
||||
}
|
||||
Reference in a new issue