payment

module
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: MIT

README

GopherPay

Gopher

A show case of DDD/CQRS/Clean Architecture

CircleCI Codecov Go Report Card Codebeat badge GitHub tag (latest SemVer)

Getting help

make help

Building Docker Image

make docker-build

Running service in Docker

make docker-run

Building Locally Quickly

To build the application, run tests and install it on a local machine just run the following:

make

Otherwise you can do it manually by running the commands from the sections below.

Installing dependencies

make deps

Running unit-tests

make unit-test

Running integration-tests

make integration-test

Building the application

make build

Installing application

The following command will install the application to $GOPATH/bin

Note: Don't forget to add $GOPATH/bin to your $PATH

make install

Running the application

If the application was installed correctly just run:

gopherpay

Exploring the Examples

Just look at the example folder

Getting API information (Swagger)

After starting the service type in your browser: http://localhost:8080/swagger/index.html

Directories

Path Synopsis
cmd
cli
Package example Demonstrates Money transfer example.
Package example Demonstrates Money transfer example.
internal
pkg
test
app
gin

Jump to

Keyboard shortcuts

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