Skip to content

ShayeGun/go-server

Repository files navigation

Project Structure:

This project follows DDD structure and is heavily inspired from:

Dependencies:

ORM


MIGRATION

  • goose

  • goose doc

    • Usage:
      goose {Flag} {Command} {File-name} {File-format}
      goose -dir cmd/migrate create user-table sql

    • Note:
      More complex statements (PL/pgSQL) that have semicolons within them must be annotated with -- +goose StatementBegin and -- +goose StatementEnd to be properly recognized.


HOT_RELOAD

  • air
    • Issue 1:
      add this line to .bashrc ===> alias air='$(go env GOPATH)/bin/air'

About

implementing different things using GO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published