Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix function names in comment #3536

Merged
merged 1 commit into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contrib/registry/polaris/polaris_z_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion net/gclient/gclient_z_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion os/glog/glog_logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading