ChFootMain.go 333 B

1234567891011121314151617181920212223
  1. package main
  2. import (
  3. "chathub/chfoot/core"
  4. "fmt"
  5. "github.com/etlibgo/et"
  6. "time"
  7. )
  8. func main() {
  9. fmt.Println("foot 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("foot ended")
  17. }