Skip to content
/ Go_Micro Public template

A minimalist Go microservice architecture example.

License

Notifications You must be signed in to change notification settings

farawaysouthwest/Go_Micro

Repository files navigation

Go_Micro

A minimalist Go microservice architecture example. Use as a template for your next MicroService!

Getting Started

Uses basic Go commands for local development.

Install packages

go install

Run Locally

go run .

Prerequisites

  • Go sdk
  • Mockery testing mock generator
  • Docker for deployment

Project Structure

Controller

Service

Model

Running the tests

Testing mocks can be generated with the Mockery tool, this will generate mocks for any public interface.

mockery --all

Then just run all tests:

go test ./...

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

A minimalist Go microservice architecture example.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published