main.go 261 B

1234567891011121314151617
  1. package main
  2. import (
  3. "os"
  4. "code.osinet.fr/fgm/lbc/domain"
  5. )
  6. func main() {
  7. dic := container{resolve(os.Stdout, os.Args)}
  8. logger := dic.Logger()
  9. server := dic.Web()
  10. if err := server.Serve(make(chan domain.Empty)); err != nil {
  11. logger.Fatal(err)
  12. }
  13. }