Skip to content

santoshkavhar/go-e-commerce

Repository files navigation

Golang Boilerplate

Golang boilerplate to kickstart any go api project. This supports 2 database configurations currently:

  • MongoDB
  • Postgres (default)

Installing and configuring the boilerplate!

Get the install.sh script into your microservice development directory.

wget https://raw.githubusercontent.com/joshsoftware/golang-boilerplate/master/install.sh

Run the script with the options:

. ./install.sh -p package_name [-d {mongo|pg}] [-h]

-p: [mandatory] Usually your github handle and service name. Eg. gautamrege/testly or github.com/corp/pkg/service

-d: [optional] Default: pg. Specify 'mongo' for mongoDB setup

-h: [optional] Display help

Testing

Run test locally

$ make test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published