genschemago.sh (view raw)
1echo "package main" > schema.go 2echo "var sqlSchema = \`" >> schema.go 3cat schema.sql >> schema.go 4echo "\`" >> schema.go 5go fmt schema.go 6