Generate code for database usage.
//go:generate beagle db --table users --key user_id user.go
go generate user.go
Generate code for json schema's.
//go:generate beagle schema *.json
package schema
go generate schema.go
Update license headers for all go files.
beagle license .
Run the application and restart on file modifications.
beagle run go run main.go
package db logs to stdout, if this is unwanted this can be switched off. At start call db.DiscardLogging()
or set the environment variable BEAGLE_NOLOG
.