github.com/segakazzz/buffalo@v0.16.22-0.20210119082501-1f52048d3feb/genny/build/_fixtures/coke/grifts/db.go (about) 1 package grifts 2 3 import ( 4 "github.com/markbates/grift/grift" 5 ) 6 7 var _ = grift.Namespace("db", func() { 8 9 grift.Desc("seed", "Seeds a database") 10 grift.Add("seed", func(c *grift.Context) error { 11 // Add DB seeding stuff here 12 return nil 13 }) 14 15 })