8000 GitHub - thucnq/project-v · GitHub
[go: up one dir, main page]

Skip to content
thucnqPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Workflow Service

DB Schemas

Implement new entity flow

Pre-require:

Steps:

  • Define Entity in `./internal/model/entity
  • run commend below to gen new migration sql file:
    make migrate-create name=init_entity
  • Define table, index,.. in sql file above
  • Run
    go run ./cmd/migrate/main.go
  • Run
    make gen-sql

Generate api doc:

  • swag init -g /cmd/server/main.go
  • swag fmt

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0