├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── lint.yaml │ └── test.yaml ├── .gitignore ├── .goreleaser.yml ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── assets └── gopher-seeder.png ├── db └── migrations │ ├── 20210705143633_create_role.down.sql │ ├── 20210705143633_create_role.up.sql │ ├── 20210705143825_create_user.down.sql │ ├── 20210705143825_create_user.up.sql │ ├── 20210705143843_create_product.down.sql │ └── 20210705143843_create_product.up.sql ├── docker-compose.yaml ├── example ├── main.go └── seeds │ ├── products.go │ ├── roles.go │ ├── seeds.go │ ├── seeds_tx.go │ └── users.go ├── go.mod ├── go.sum ├── scripts ├── entrypoint.sh └── install_migrate.sh ├── seeder.go └── seeder_test.go /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/lint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/.github/workflows/lint.yaml -------------------------------------------------------------------------------- /.github/workflows/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/.github/workflows/test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/.gitignore -------------------------------------------------------------------------------- /.goreleaser.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/.goreleaser.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/README.md -------------------------------------------------------------------------------- /assets/gopher-seeder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/assets/gopher-seeder.png -------------------------------------------------------------------------------- /db/migrations/20210705143633_create_role.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE public.roles; 2 | -------------------------------------------------------------------------------- /db/migrations/20210705143633_create_role.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/db/migrations/20210705143633_create_role.up.sql -------------------------------------------------------------------------------- /db/migrations/20210705143825_create_user.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE public.users; 2 | -------------------------------------------------------------------------------- /db/migrations/20210705143825_create_user.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/db/migrations/20210705143825_create_user.up.sql -------------------------------------------------------------------------------- /db/migrations/20210705143843_create_product.down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE public.products; 2 | -------------------------------------------------------------------------------- /db/migrations/20210705143843_create_product.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/db/migrations/20210705143843_create_product.up.sql -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /example/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/example/main.go -------------------------------------------------------------------------------- /example/seeds/products.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/example/seeds/products.go -------------------------------------------------------------------------------- /example/seeds/roles.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/example/seeds/roles.go -------------------------------------------------------------------------------- /example/seeds/seeds.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/example/seeds/seeds.go -------------------------------------------------------------------------------- /example/seeds/seeds_tx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/example/seeds/seeds_tx.go -------------------------------------------------------------------------------- /example/seeds/users.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/example/seeds/users.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/go.sum -------------------------------------------------------------------------------- /scripts/entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/scripts/entrypoint.sh -------------------------------------------------------------------------------- /scripts/install_migrate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/scripts/install_migrate.sh -------------------------------------------------------------------------------- /seeder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/seeder.go -------------------------------------------------------------------------------- /seeder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvergara/seeder/HEAD/seeder_test.go --------------------------------------------------------------------------------