go-init

command module
v0.0.0-...-6385ceb Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT Imports: 11 Imported by: 0

README

Project Title

Go-Init.

Table of Contents

Introduction

This project was using SOLID principles that might be more easier to scale up or to add more component inside it and not depends on other packages. also the purpose of this project was to make initial project using golang more easier.

Features

  • Database Connection.
  • Trace Logging
  • REST API
  • More features coming soon :)

Prerequisites

What we're using:

  • Go v1.19.13.
  • MySql v8.0
  • Echo V4 (Go to branch feat/impl/echo to know how to implement)
  • Golang Migrate

Getting Started

For now you can simply.

# Clone the repository
git clone https://github.com/yourusername/your-repo.git

# Change into the project directory
cd your-repo

# Running migration - See https://github.com/golang-migrate/migrate
migrate -database "{driver}://{username}:{password}@tcp({host})/{database_name}" -p {path} up

# Run the application
go run main.go

Contributing

Thank you for considering contributing to this project! Contributions are welcome from everyone, regardless of your level of experience :).

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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