mirror of
https://gitee.com/johng/gf.git
synced 2024-11-29 18:57:44 +08:00
chore: fix function names in comment (#3536)
This commit is contained in:
parent
59a959a361
commit
f48ca959f7
@ -657,7 +657,7 @@ func TestService_GetPrefix(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestService_GetName Test GetName
|
// TestService_GetKey Test GetKey
|
||||||
func TestService_GetKey(t *testing.T) {
|
func TestService_GetKey(t *testing.T) {
|
||||||
type fields struct {
|
type fields struct {
|
||||||
Service gsvc.Service
|
Service gsvc.Service
|
||||||
|
@ -581,7 +581,7 @@ func ExampleClient_SetProxy() {
|
|||||||
// true
|
// true
|
||||||
}
|
}
|
||||||
|
|
||||||
// ExampleClientChain_Proxy a chain version of example for `gclient.Client.Proxy` method.
|
// ExampleClient_Proxy a chain version of example for `gclient.Client.Proxy` method.
|
||||||
// please prepare two proxy server before running this example.
|
// please prepare two proxy server before running this example.
|
||||||
// http proxy server listening on `127.0.0.1:1081`
|
// http proxy server listening on `127.0.0.1:1081`
|
||||||
// socks5 proxy server listening on `127.0.0.1:1080`
|
// socks5 proxy server listening on `127.0.0.1:1080`
|
||||||
|
@ -358,7 +358,7 @@ func (l *Logger) printStd(ctx context.Context, level int, values ...interface{})
|
|||||||
l.print(ctx, level, "", values...)
|
l.print(ctx, level, "", values...)
|
||||||
}
|
}
|
||||||
|
|
||||||
// printStd prints content `s` with stack check.
|
// printErr prints content `s` with stack check.
|
||||||
func (l *Logger) printErr(ctx context.Context, level int, values ...interface{}) {
|
func (l *Logger) printErr(ctx context.Context, level int, values ...interface{}) {
|
||||||
var stack string
|
var stack string
|
||||||
if l.config.StStatus == 1 {
|
if l.config.StStatus == 1 {
|
||||||
|
Loading…
Reference in New Issue
Block a user