go-trophy-server

command module
v0.0.0-...-5ec782d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2019 License: MIT Imports: 4 Imported by: 0

README

🏆 Go-Trophy Server CircleCI

❯ Why

TODO

❯ 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL