Skip to content
/ go-bone Public template

Go bone is boilerplate go project (included Go-Fiber, RabbitMQ, MySQL, OpenTelemetry, and Redis)

Notifications You must be signed in to change notification settings

Zainal21/go-bone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8e8356c · Mar 30, 2024

History

13 Commits
Mar 20, 2024
Mar 30, 2024
Mar 20, 2024
Mar 20, 2024
Mar 20, 2024
Mar 20, 2024
Mar 20, 2024
Mar 20, 2024
Jan 9, 2024
Mar 20, 2024
Mar 20, 2024
Mar 20, 2024
Jan 9, 2024

Repository files navigation

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

About

Go bone is boilerplate go project (included Go-Fiber, RabbitMQ, MySQL, OpenTelemetry, and Redis)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages