Skip to content

hirsch88/go-micro-framework

Repository files navigation

🎨 Go Micro Framework Build Status

❯ Why

Our main goal with this project is a feature complete server application. We like you to be focused on your business and not spending hours in project configuration.

Try it!! We are happy to hear your feedback or any kind of new features.

❯ Installation

brew install go
brew install glide
brew install goose
brew install mysql

❯ Getting Started

First we need to install the dependencies.

make install

To start the server run.

make run

❯ Dependency Management

Our dependency management tool is glide;

Add Dependency

glide get github.com/foo/bar

Updating Dependencies

glide update

❯ Database Migrations

To manage our database schema we used the library goose.

Run migrations

make db-migrate

Create a migration

make db-create-migration name=create_user_table

❯ Testing

For testing our awesome app we decided to use the toolkit stretchr/testify.

Create Mocks

To automatically generate the mocks we use vektra/mockery. The below command example generates the mock files of our interfaces inside the /app folder.

make mocks

❯ License

MIT