Skip to content

BetterToPractice/go-echo-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bbcf6c5 · Oct 17, 2023

History

51 Commits
Oct 17, 2023
Oct 1, 2023
Sep 4, 2023
Oct 1, 2023
Sep 25, 2023
Oct 17, 2023
Oct 17, 2023
Oct 1, 2023
Sep 8, 2023
Oct 17, 2023
Oct 17, 2023
Oct 1, 2023
Sep 8, 2023
Oct 17, 2023
Sep 23, 2023
Aug 25, 2023
Oct 17, 2023
Aug 4, 2023
Oct 1, 2023
Oct 1, 2023
Oct 1, 2023

Repository files navigation

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

Releases

No releases published

Packages

No packages published