实现HTTP部分功能

This commit is contained in:
GoEdgeLab
2020-09-26 08:07:24 +08:00
parent 2bdb5c232a
commit 7e5a446cb3
52 changed files with 1120 additions and 391 deletions

11
pkg/configutils/log.go Normal file
View File

@@ -0,0 +1,11 @@
package configutils
import "github.com/iwind/TeaGo/logs"
// 记录错误
func LogError(arg ...interface{}) {
if len(arg) == 0 {
return
}
logs.Println(arg...)
}