go-echo-setup

command module
v0.0.0-...-bbcf6c5 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Go Echo Setup

How To Run Application
docker-compose up -d --build
go run main.go runserver

or

# support live reload
go install github.com/cosmtrek/air@latest
# then run
air runserver
How to Run Migration
go run main.go migrate -e up

another script:

go run main.go makemigrations -f "create_new_migration_file"
go run main.go migrate -e up 0001
go run main.go migrate -e down
go run main.go migrate -e down 0001
go run main.go migrate -e undo
How to Generate Swagger
swag init --parseDependency --parseInternal

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
dto
cmd
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
pkg

Jump to

Keyboard shortcuts

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