From 381d1ac678395983e9ebeb3724f09da72c9ca62b Mon Sep 17 00:00:00 2001 From: Liam Staskawicz Date: Mon, 30 Sep 2013 13:38:02 -0700 Subject: [PATCH] wip (not building): begin restructuring into separate cmd and lib packages, to allow external applications to make use of goose's internal functionality. part of #6. --- cmd.go => cmd/goose/cmd.go | 0 cmd_create.go => cmd/goose/cmd_create.go | 0 cmd_down.go => cmd/goose/cmd_down.go | 0 cmd_redo.go => cmd/goose/cmd_redo.go | 0 cmd_status.go => cmd/goose/cmd_status.go | 0 cmd_up.go => cmd/goose/cmd_up.go | 0 main.go => cmd/goose/main.go | 0 dbconf.go => lib/goose/dbconf.go | 0 dbconf_test.go => lib/goose/dbconf_test.go | 0 dialect.go => lib/goose/dialect.go | 0 migrate.go => lib/goose/migrate.go | 0 migrate_test.go => lib/goose/migrate_test.go | 0 migration_go.go => lib/goose/migration_go.go | 0 migration_sql.go => lib/goose/migration_sql.go | 0 migration_sql_test.go => lib/goose/migration_sql_test.go | 0 util.go => lib/goose/util.go | 0 16 files changed, 0 insertions(+), 0 deletions(-) rename cmd.go => cmd/goose/cmd.go (100%) rename cmd_create.go => cmd/goose/cmd_create.go (100%) rename cmd_down.go => cmd/goose/cmd_down.go (100%) rename cmd_redo.go => cmd/goose/cmd_redo.go (100%) rename cmd_status.go => cmd/goose/cmd_status.go (100%) rename cmd_up.go => cmd/goose/cmd_up.go (100%) rename main.go => cmd/goose/main.go (100%) rename dbconf.go => lib/goose/dbconf.go (100%) rename dbconf_test.go => lib/goose/dbconf_test.go (100%) rename dialect.go => lib/goose/dialect.go (100%) rename migrate.go => lib/goose/migrate.go (100%) rename migrate_test.go => lib/goose/migrate_test.go (100%) rename migration_go.go => lib/goose/migration_go.go (100%) rename migration_sql.go => lib/goose/migration_sql.go (100%) rename migration_sql_test.go => lib/goose/migration_sql_test.go (100%) rename util.go => lib/goose/util.go (100%) diff --git a/cmd.go b/cmd/goose/cmd.go similarity index 100% rename from cmd.go rename to cmd/goose/cmd.go diff --git a/cmd_create.go b/cmd/goose/cmd_create.go similarity index 100% rename from cmd_create.go rename to cmd/goose/cmd_create.go diff --git a/cmd_down.go b/cmd/goose/cmd_down.go similarity index 100% rename from cmd_down.go rename to cmd/goose/cmd_down.go diff --git a/cmd_redo.go b/cmd/goose/cmd_redo.go similarity index 100% rename from cmd_redo.go rename to cmd/goose/cmd_redo.go diff --git a/cmd_status.go b/cmd/goose/cmd_status.go similarity index 100% rename from cmd_status.go rename to cmd/goose/cmd_status.go diff --git a/cmd_up.go b/cmd/goose/cmd_up.go similarity index 100% rename from cmd_up.go rename to cmd/goose/cmd_up.go diff --git a/main.go b/cmd/goose/main.go similarity index 100% rename from main.go rename to cmd/goose/main.go diff --git a/dbconf.go b/lib/goose/dbconf.go similarity index 100% rename from dbconf.go rename to lib/goose/dbconf.go diff --git a/dbconf_test.go b/lib/goose/dbconf_test.go similarity index 100% rename from dbconf_test.go rename to lib/goose/dbconf_test.go diff --git a/dialect.go b/lib/goose/dialect.go similarity index 100% rename from dialect.go rename to lib/goose/dialect.go diff --git a/migrate.go b/lib/goose/migrate.go similarity index 100% rename from migrate.go rename to lib/goose/migrate.go diff --git a/migrate_test.go b/lib/goose/migrate_test.go similarity index 100% rename from migrate_test.go rename to lib/goose/migrate_test.go diff --git a/migration_go.go b/lib/goose/migration_go.go similarity index 100% rename from migration_go.go rename to lib/goose/migration_go.go diff --git a/migration_sql.go b/lib/goose/migration_sql.go similarity index 100% rename from migration_sql.go rename to lib/goose/migration_sql.go diff --git a/migration_sql_test.go b/lib/goose/migration_sql_test.go similarity index 100% rename from migration_sql_test.go rename to lib/goose/migration_sql_test.go diff --git a/util.go b/lib/goose/util.go similarity index 100% rename from util.go rename to lib/goose/util.go