Skip to content

ciazhar/go-postgres-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang Example

Requirement

  • Golang > go version go1.21.4

Install

make install

Run

make run

Note

  • configs folder to store config
    • config.json for application config file
    • dbconfig.yml for database migration
    • sqlc.yaml for config sql (sql to go generator)
  • db to store sql file
    • factories to store init table etc
    • migrations to store function or view migration
    • queries to store query that converted to golang
    • seeds to store table seeder
  • generated to store generated file
  • internal to store codebase of internal application
  • pkg to store util file and third party that can be imported to other folder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published