data/migration/migration.go
func Version(connStr string) (int64, error) {
	db, err := sql.Open("postgres", connStr)
	if err != nil {
		return 0, err
	}
	defer db.Close()
	return goose.GetDBVersion(db)
}
func Version(connStr string) (int64, error) {
	db, err := sql.Open("postgres", connStr)
	if err != nil {
		return 0, err
	}
	defer db.Close()
	return goose.GetDBVersion(db)
}
func Version ( connStr string ) ( int64 , error ) { db , err := sql . Open ( " " , connStr ) if err != nil { return 0 , err } defer db . Close ( ) return goose . GetDBVersion ( db ) }
// Version returns the version of the database schema.
Version returns the version of the database schema .