Skip to content

dutchsec/beagle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages