buroq

command module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: MIT Imports: 1 Imported by: 0

README

Go Report Card Maintainability

buroq

this is a bootstrap service build with GO for our cookie cutter.

just build it and run. localhost:[port]/health_check will give you HTTP status 200.

DB driver

Cache driver

Migration

  • using sql-migrate
  • command: migrate for migrate up
  • command: migratedown for migrate down
  • command: migratenew [migration name] for create migration file

Seeding (Work in progress)

  • seeds for starter can be put on migrations/seeds/{number}.{table-name}.sql

Router

  • using go-chi
  • why? simplicity and easy to read

Metric (Work in progress)

Others

  • using perkakas for any our standard middlewares and for writing response
  • overall using the golang layout, with minor changes for own needs

IMPORTANT

  • whenever you start new service, please make the documentation using open api specification and put it on folder /api

Author

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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