github.com/deso-protocol/core@v1.2.9/migrate/init.go (about)

     1  package migrate
     2  
     3  import "github.com/golang/glog"
     4  
     5  // LoadMigrations forces Go to call init() on all the files in this package.
     6  // The library we use for migrations, go-pg-migrations, needs to be refactored to
     7  // not use this terrible loading pattern. It's hard to test, can cause weird side effects,
     8  // and is the reason we need this weird LoadMigrations method
     9  func LoadMigrations() {
    10  	glog.Info("Loading all migrations...")
    11  }