// Code generated by go-swagger/go-orusapi; DO NOT EDIT. {{ if .Copyright -}}// {{ comment .Copyright -}}{{ end }} {{- $noDB := not (not (index .Info.Extensions "x-go-orusapi-no-db") ) }} package migration {{- if $noDB }} // "info.x-go-orusapi-no-db" is 'true', no actual 'migration' module // The directory and this file remains because there is no way to skip a file // generation based on a condition in the specs (that I know of) {{- else }} import ( "github.com/golang-migrate/migrate/v4/source" bindata "github.com/golang-migrate/migrate/v4/source/go_bindata" ) //go:generate go-bindata -pkg migration -prefix scripts -nometadata scripts //go:generate sed -i "1s;^;// Code generated by go-bindata. DO NOT EDIT.\\n\\n;" bindata.go func initSource() source.Driver { s := bindata.Resource(AssetNames(), Asset) source, err := bindata.WithInstance(s) if err != nil { panic(err) } return source } var Source = initSource() {{- end }}