gomg

command module
v0.0.0-...-7d254bc Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2019 License: MIT Imports: 5 Imported by: 0

README

Build Status codecov

gomg

gomg provides a set of utilities for interacting with the Open Microservice Guide.

Getting gomg

Getting gomg is easy, simply:

go get github.com/williammartin/gomg

and after that you can explore the gomg CLI using:

gomg --help
Validating your microservice

You can validate your microservice against the OMG by navigating to the directory containing your microservice.yml and running:

gomg validate
Building your microservice

You can build a docker image for your microservice by navigating to the directory containing your microservice.yml and Dockerfile and running:

gomg build

You can then run:

docker images

and see your microservice tagged in the format omg-<MICROSERVICE>:latest

Note: You will need a local Docker daemon running for this workflow to succeed.

Running the tests

You can use the provided makefile to run tests:

make test

Please run this before providing any contributions.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
generator/generatorfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
validatefakes
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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