go-structure

command module
v0.0.0-...-381594c Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: MIT Imports: 5 Imported by: 0

README

Go Structure

This repository is created a reference of golang project structure.

Prerequisite

  • Golang
  • Nodejs

How to Run

  • git clone [email protected]:endrureza/go-structure.git
  • cd go-structure
  • yarn install
  • yarn dev

Application Structure

/app

All API logic, model relation and middleware should go to this folder

/cli

Any command line script should go to this folder

/config

All configuration regarding application should go to this folder

/routes

All endpoint or routing should go to this folder

/services

All third party services configuration or setting should go to this folder

/tests

All test mechanism should go to this folder

/utils

All imported library that is not exposed to outside of package should go to this folder

main.go

This file will be the main to execute / run application

apidoc.json

All route documentation should go to this file

Authors

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app
cli
database
jobs
routes
v1
services

Jump to

Keyboard shortcuts

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