Skip to content

hayawata3626/go-api-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-api-server

make .env file on project root directory

DB_USER=
DB_PASSWORD=
DB_NAME=
DATABASE_URL=tcp:localhost:3306*$DB_USER/$DB_USER/$DB_PASSWORD

Migration

$ source .env

# migration status check
$ goose status

# migration up
$ goose up

# migration down
$ goose down

start server

go run main.go

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published