go get -u github.com/xxl6097/gologview
func init() {
logview.GetLogApi().RunAndSetUserPass(8080, "admin", "admin")
}
func main() {
for {
fmt.Println("aaaaaa这个不会在web上显示哦")
glog.Info("info...")
time.Sleep(time.Second)
}
}
go get -u github.com/xxl6097/gologview
func init() {
logview.GetLogApi().RunAndSetUserPass(8080, "admin", "admin")
}
func main() {
for {
fmt.Println("aaaaaa这个不会在web上显示哦")
glog.Info("info...")
time.Sleep(time.Second)
}
}