Skip to content

mandocaesar/go-skeleton

Repository files navigation

go-skeleton

Skeleton for Golang projects complete with database layer, gRPC, logging, and more.

CircleCI

What's in the project

  • gRPC
  • Rest API
  • Messaging (Rabbit MQ)
  • Data base layer - GORM
  • Data base layer - Repository
  • Data base layer - Factory
  • Dependency Injection
  • Generic Logging - Logrush
  • Generic Logging - fan out multiple channel
  • APM integration
  • Example Project

Prerequisites

  • Go (1.11.5+)
  • dep (0.5.0+)

Getting started

To use this started, clone this repository and rename the project directory to your liking.

$ git clone https://github.com/mandocaesar/go-skeleton.git <your-project-name>

Next, cd into the project folder and install the required dependencies.

go get

# ...or, if you use dep:
dep ensure

You're ready to go!

Commands

# builds a production copy of the project
go build

# TODO: add more commands

License

MIT.

About

golang skeleton project

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published