Skip to content

Latest commit

 

History

History
94 lines (62 loc) · 1.47 KB

README.md

File metadata and controls

94 lines (62 loc) · 1.47 KB

GoBone Boilerplate

Getting started

This is built on top of Go Fiber Golang Framework.

Dependencies

There is some dependencies that we used in this skeleton:

Requirement

  • Golang version 1.21 or latest
  • Database MySQL
  • RabbitMQ

Usage

Installation

install required dependencies

make install

Run Service

run current service after all dependencies installed

make start

Database Migration

migration up

go run main.go db:migrate up

migration down

go run main.go db:migrate down

migration reset

go run main.go db:migrate reset

migration reset

go run main.go db:migrate reset

migration redo

go run main.go db:migrate redo

migration status

go run main.go db:migrate status

create migration table

go run main.go db:migrate create {table-name} sql

# example
go run main.go db:migrate create users sql

to show all command

go run main.go db:migrate