Skip to content

A skeleton with echo framework in go language for microservices.

License

Notifications You must be signed in to change notification settings

MrAndreID/goechoms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Echo MicroService

Table of Contents

Requirements

To use Go Echo MicroService, you must ensure that you meet the following requirements:

  • Go >= 1.22

Installation

To use Go Echo MicroService, you must follow the steps below:

  • Clone a Repository
# git clone https://github.com/MrAndreID/goechoms.git
  • Get Dependancies
# go mod download
# go mod tidy
  • Create .env file from .env.example (Linux)
# cp .env.example .env
  • Configuring .env file

Migration

To Run Migration for Go Echo MicroService, you must ensure that you meet the following requirements:

  • Run Migration for Go Echo MicroService with Drop All Tables
# go run applications/databases/migrations/main.go --migrate=fresh
  • Run Migration for Go Echo MicroService
# go run applications/databases/migrations/main.go --migrate=default

Seeder

To Run Seeder for Go Echo MicroService, you must ensure that you meet the following requirements:

  • Run Seeder for Go Echo MicroService
# go run applications/databases/seeders/main.go --seed=default

Usage

To Use Go Echo MicroService, you must ensure that you meet the following requirements:

  • Run Go Echo MicroService
# go run main.go

Versioning

I use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

Official Documentation for Go Language

Documentation for Go Language can be found on the Go Package website.

License

Go Echo MicroService is released under the MIT License. See the LICENSE file for more information.