beagle

module
v0.0.0-...-68d3b97 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0

README

Beagle

Usage

Beagle DB

Generate code for database usage.

//go:generate beagle db --table users --key user_id user.go
go generate user.go
Beagle Schema

Generate code for json schema's.

//go:generate beagle schema *.json
package schema
go generate schema.go
Beagle License

Update license headers for all go files.

beagle license .
Beagle Run

Run the application and restart on file modifications.

beagle run go run main.go
Import Beagle

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.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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