You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
595 B
Go

3 years ago
/**
* @Author: jager
* @Email: lhj168os@gmail.com
* @File: main
* @Date: 2021/10/18 11:15
* @package: wechat
* @Version: v1.0.0
*
* @Description:
*
*/
package main
import (
3 years ago
"log"
3 years ago
"wechat/view"
3 years ago
)
func main() {
3 years ago
//ctx, cancel := signal.NotifyContext(context.Background(), syscall.SIGINT)
//defer cancel()
3 years ago
3 years ago
view.OnMessage("dekdmkwenkwndklwenklndk\n")
view.UpdateOnline("杰13160676597\n哲10086\n文10010\n")
view.UpdateOnline("杰13160676597\n哲10086\n文10010\n")
3 years ago
3 years ago
err := view.Run()
3 years ago
if err != nil {
3 years ago
log.Fatal(err)
3 years ago
}
}