/app/conf/bootstrap.go
Go | 14 lines | 6 code | 2 blank | 6 comment | 0 complexity | c29fb22d948bfda08550a3cc164a6e2f MD5 | raw file
1package bootstrap 2 3import ( 4 // G "framework/goom" 5 . "framework/bean" 6 // "app/domain/book" 7) 8 9func BootStrap(ctx AppContext) { 10 /* 11 bookService := ctx.GetBean("BookService").(G.Inserter) 12 bookService.Insert(&book.Book{"001", "Harry Potter", "ABC"}) 13 */ 14}