Skip to content

Commit ae5ce0b

Browse files
committed
chore: update go mod
1 parent 2e98740 commit ae5ce0b

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.16
55
require (
66
github.com/alibaba/sentinel-golang v1.0.4
77
github.com/apache/thrift v0.16.0
8-
github.com/cloudwego/hertz v0.6.6
8+
github.com/cloudwego/hertz v0.6.8
99
github.com/cloudwego/kitex v0.6.1
1010
github.com/hertz-contrib/cors v0.0.0-20230423034624-2bc83a8400f0
1111
github.com/hertz-contrib/csrf v0.1.1
@@ -43,6 +43,7 @@ require (
4343
github.com/benbjohnson/clock v1.3.0 // indirect
4444
github.com/bytedance/go-tagexpr/v2 v2.9.7 // indirect
4545
github.com/go-errors/errors v1.4.2 // indirect
46+
github.com/hertz-contrib/logger/slog v1.0.0
4647
github.com/jmespath/go-jmespath v0.4.0 // indirect
4748
github.com/prometheus/client_golang v1.13.0 // indirect
4849
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -735,8 +735,8 @@ github.com/cloudwego/hertz v0.4.2/go.mod h1:K1U0RlU07CDeBINfHNbafH/3j9uSgIW8otbj
735735
github.com/cloudwego/hertz v0.5.2/go.mod h1:K1U0RlU07CDeBINfHNbafH/3j9uSgIW8otbjUys3OPY=
736736
github.com/cloudwego/hertz v0.6.2/go.mod h1:2em2hGREvCBawsTQcQxyWBGVlCeo+N1pp2q0HkkbwR0=
737737
github.com/cloudwego/hertz v0.6.4/go.mod h1:KhztQcZtMQ46gOjZcmCy557AKD29cbumGEV0BzwevwA=
738-
github.com/cloudwego/hertz v0.6.6 h1:FShiLl/jB/65aH6/RlwDXuBM/yTuHEz2mb8Cx1niAPU=
739-
github.com/cloudwego/hertz v0.6.6/go.mod h1:KhztQcZtMQ46gOjZcmCy557AKD29cbumGEV0BzwevwA=
738+
github.com/cloudwego/hertz v0.6.8 h1:nuUp2YuD3DJ4jjL9gP2IJRb84aSigbEUumuwQt0mjfc=
739+
github.com/cloudwego/hertz v0.6.8/go.mod h1:KhztQcZtMQ46gOjZcmCy557AKD29cbumGEV0BzwevwA=
740740
github.com/cloudwego/kitex v0.0.4/go.mod h1:EIjPJ4Dom2ornk7xDCdKpUpOnf4Tulevimh4Tn05OGc=
741741
github.com/cloudwego/kitex v0.3.2/go.mod h1:/XD07VpUD9VQWmmoepASgZ6iw//vgWikVA9MpzLC5i0=
742742
github.com/cloudwego/kitex v0.4.4/go.mod h1:3FcH5h9Qw+dhRljSzuGSpWuThttA8DvK0BsL7HUYydo=
@@ -1016,8 +1016,6 @@ github.com/henrylee2cn/ameda v1.4.8/go.mod h1:liZulR8DgHxdK+MEwvZIylGnmcjzQ6N6f2
10161016
github.com/henrylee2cn/ameda v1.4.10/go.mod h1:liZulR8DgHxdK+MEwvZIylGnmcjzQ6N6f2PlWe7nEO4=
10171017
github.com/henrylee2cn/ameda v1.5.1/go.mod h1:wnTERseg26LtcSrHOPlV3pBGnNwQiz3TNIeMEgNoNlg=
10181018
github.com/henrylee2cn/goutil v0.0.0-20210127050712-89660552f6f8/go.mod h1:Nhe/DM3671a5udlv2AdV2ni/MZzgfv2qrPL5nIi3EGQ=
1019-
github.com/hertz-contrib/cors v0.0.0-20220601061225-50f4e582beaf h1:ZAxm2v6m6uhdlRZkmfcdFJm9P3FG7VQIQxC5Hkx8Li0=
1020-
github.com/hertz-contrib/cors v0.0.0-20220601061225-50f4e582beaf/go.mod h1:45j0uowS7Wuijes/UKkxrszUM7Hs6E49TY0M27Fu560=
10211019
github.com/hertz-contrib/cors v0.0.0-20230423034624-2bc83a8400f0 h1:l5i0uvP7OQ//vjA4qR3U160NxQex+BiqaRM+u6CpoIM=
10221020
github.com/hertz-contrib/cors v0.0.0-20230423034624-2bc83a8400f0/go.mod h1:VPReoq+Rvu/lZOfpp5CcX3x4mpZUc3EpSXBcVDcbvOc=
10231021
github.com/hertz-contrib/csrf v0.1.1 h1:53HxseVzpW4JEUJ7ONAaQCyNBWXl+rn42LVqgwEQzRg=
@@ -1028,6 +1026,8 @@ github.com/hertz-contrib/loadbalance v0.1.0 h1:KI7lRh8ddEMYw0W4mAOoJoXiW5s7gLdGJ
10281026
github.com/hertz-contrib/loadbalance v0.1.0/go.mod h1:TXjQ87qylOhKEz0vYACI2UjENqxW40+LQBmSWycoAGE=
10291027
github.com/hertz-contrib/logger/logrus v0.0.0-20221104075115-aecbfb39bbfe h1:zN6bQ8EVxZmnUfcU2zVU63AmDJFg1lcvRKL4T66MK7M=
10301028
github.com/hertz-contrib/logger/logrus v0.0.0-20221104075115-aecbfb39bbfe/go.mod h1:SqDYLwVq5hTItYqimgZQbFCYPOIGNvBTq0Ip2OQwMcY=
1029+
github.com/hertz-contrib/logger/slog v1.0.0 h1:nZVnsoLpSGzOyiXdfhAtFrLlsJc24yW/Hnu5oRhZPls=
1030+
github.com/hertz-contrib/logger/slog v1.0.0/go.mod h1:npMO4ORv4v1puT/8Y5q4FcR94Ui+f6gO49YDYnqlQ+0=
10311031
github.com/hertz-contrib/logger/zap v0.0.0-20221104075115-aecbfb39bbfe h1:cBAAFz/S7lriahBuC8OJTAMBp9oLOPnhX/LCVJ2TN/U=
10321032
github.com/hertz-contrib/logger/zap v0.0.0-20221104075115-aecbfb39bbfe/go.mod h1:kL1oi/2n+55rdmaYqKrb+CckS+jUVMwxVDhomebsa6c=
10331033
github.com/hertz-contrib/logger/zerolog v0.0.0-20221111024215-1ee59ae719d7 h1:p9I5jHfGFXV4Z5gSXyJ14nggeqcLj+QhGdD1tobCKEc=

hlog/slog/main.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2022 CloudWeGo Authors
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package main
218

319
import (

0 commit comments

Comments
 (0)