mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-08-26 16:46:14 +08:00
fix g.Log()的使用
This commit is contained in:
@@ -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 (
|
||||
|
Reference in New Issue
Block a user