go-datastore

module
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2025 License: MIT

README

go-datastore

Satimoto datastore using golang

Dependencies

brew install sqlc
brew install golang-migrate

On schema changes

Whenever the SQL schema files change the following should be run

Generate the SQL models and queries

Generates the database models and queries from sql files

sqlc generate

Run Migration

Data migration can be run by either creating a .env or passing migration parameters to the command

go run ./cmd/data-migrate

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL