After go version
go mod -vendor prunes non-package directories from
vendor. This is noted here:
So, how do we include a non-package directory(sql migrations, yamls etc.) to be included in the vendor ?
The conditionally compiled file
migrations.go will force
go mod -vendor to include it.