摘要: # 单元测试 测试单元的结果是否符合预期 ```Go //go_test.go import ( "fmt" "testing" ) func Add() int { fmt.Println("AAAAAAAAAAAAAA") return 5 } func Sub() int { fmt.Prin 阅读全文
posted @ 2023-07-11 17:42 厚礼蝎 阅读(39) 评论(0) 推荐(0)
摘要: ```go package main import ( "bytes" "fmt" "io" "net/http" "os" "time" "github.com/bytedance/sonic" ) var ( subject, message, webHook, is_all, user_pho 阅读全文
posted @ 2023-07-11 17:32 厚礼蝎 阅读(23) 评论(0) 推荐(0)