diff --git a/contrib/registry/polaris/polaris_z_test.go b/contrib/registry/polaris/polaris_z_test.go index e7479223e..3062f5785 100644 --- a/contrib/registry/polaris/polaris_z_test.go +++ b/contrib/registry/polaris/polaris_z_test.go @@ -657,7 +657,7 @@ func TestService_GetPrefix(t *testing.T) { } } -// TestService_GetName Test GetName +// TestService_GetKey Test GetKey func TestService_GetKey(t *testing.T) { type fields struct { Service gsvc.Service diff --git a/net/gclient/gclient_z_example_test.go b/net/gclient/gclient_z_example_test.go index 2bdeca5a2..48e63c505 100644 --- a/net/gclient/gclient_z_example_test.go +++ b/net/gclient/gclient_z_example_test.go @@ -581,7 +581,7 @@ func ExampleClient_SetProxy() { // 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. // http proxy server listening on `127.0.0.1:1081` // socks5 proxy server listening on `127.0.0.1:1080` diff --git a/os/glog/glog_logger.go b/os/glog/glog_logger.go index b2484553e..9377fb8c5 100644 --- a/os/glog/glog_logger.go +++ b/os/glog/glog_logger.go @@ -358,7 +358,7 @@ func (l *Logger) printStd(ctx context.Context, level int, values ...interface{}) 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{}) { var stack string if l.config.StStatus == 1 {