Sample application for: https://eazymock.net/blogs/software-design-with-hexagonal-architecture-in-go-pUUFA2vjl2
-
Copy file
.env.example
and rename to.env
-
Update env vars to fit your local
-
Start local services
make local-db
-
Migration
make db/migrate
-
Run the server
make run
make test
sql-migrate new -env="development" create-books-table
- Result:
Created migration migrations/20231219104808-create-books-table.sql