fix g.Log()的使用

This commit is contained in:
maxbad
2023-05-07 22:35:29 +08:00
parent e8a0a41cb4
commit 67a0a38fd4
10 changed files with 16 additions and 16 deletions

View File

@@ -30,7 +30,7 @@ func IsDNSName(s string) bool {
func IsHTTPS(ctx context.Context) bool {
r := ghttp.RequestFromCtx(ctx)
if r == nil {
g.Log().Infof(ctx, "IsHTTPS ctx not request")
g.Log().Info(ctx, "IsHTTPS ctx not request")
return false
}
var (