/app/conf/bootstrap.go

http://github.com/sut-go/gon · Go · 14 lines · 6 code · 2 blank · 6 comment · 0 complexity · c29fb22d948bfda08550a3cc164a6e2f MD5 · raw file

  1. package bootstrap
  2. import (
  3. // G "framework/goom"
  4. . "framework/bean"
  5. // "app/domain/book"
  6. )
  7. func BootStrap(ctx AppContext) {
  8. /*
  9. bookService := ctx.GetBean("BookService").(G.Inserter)
  10. bookService.Insert(&book.Book{"001", "Harry Potter", "ABC"})
  11. */
  12. }