Registry / database / gobuffalo-fizz

gobuffalo-fizz

JSON →
library1.14.4gogounverified

A common DSL for writing SQL database migrations.

go get github.com/gobuffalo/fizz
INSTALL
IMPORT
SIG · GOBUFFALO-FIZZ
G
gobuffalo-fizz
databasegov1.14.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fizz
github.com/gobuffalo/fizz

Generates SQL for creating a users table using the Fizz DSL.

package main import ( "fmt" "github.com/gobuffalo/fizz" "github.com/gobuffalo/fizz/translators" ) func main() { t := translators.NewPostgres() f := fizz.NewFromTranslator(t) sql, err := f.Generate("create_table(\"users\") { t.Column(\"name\", \"string\", {}) }") if err != nil { fmt.Println(err) return } fmt.Println(sql) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.14.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
gobuffalo-fizz — go get gobuffalo-fizz · libregistry