module
Version:
v0.0.0-...-e4eaca7
Opens a new window with list of versions in this module.
Published: Jul 6, 2025
License: CC0-1.0
Opens a new window with license information.
README
¶
typedash
Deployment link: https://typedash.songyang.dev
Getting started
brew install sqlc pre-commit golangci-lint goimports golang-migrate redis postgresql
pre-commit install
make install
- Add
export PATH="$HOME/go/bin:$PATH" to ~/.zshrc
make db-setup
make dev
Push database schema changes
We use go-migrate CLI to generate migrations, and sqlc to generate type-safe queries from the migrations
e.g. migrate create -ext sql -dir server/db/migrations -seq add_users_table
- After making changes to db/queries or generating a new migration, run
make sqlc to generate queries
make db-schema to run migrations
Directories
¶
Click to show internal directories.
Click to hide internal directories.