ChFaceMain.go 340 B

123456789101112131415161718192021222324
  1. package main
  2. import (
  3. "chathub/chface/core"
  4. "fmt"
  5. "time"
  6. "github.com/etlibgo/et"
  7. )
  8. func main() {
  9. fmt.Println("chathub began")
  10. fmt.Println(et.StrPadLeft("et pad left", "0", 20))
  11. core.AppPrepare()
  12. core.AppStart()
  13. for core.AppIsRunning() {
  14. time.Sleep(time.Duration(100) * time.Millisecond)
  15. }
  16. fmt.Println("chathub ended")
  17. }