Skip to content

tedkimdev/go-web-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-web-skeleton

Libraries

  • Chi (http router)
  • oapi-codegen (open api tool)
  • Sqlx (database)
  • Goose (postgres db migration tool)
  • slog (standard library slog)

DB Migration

  • goose command
    • create a new sql migration
      • goose -s create "filename" sql
    • migration to up
      • goose -dir db/postgres/migrations postgres "db_connection_string" up
    • migration to down
      • goose -dir db/postgres/migrations postgres "db_connection_string" down

oapi-codeegen

  • make openapi

Ref

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published