Skip to content
New issue

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

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

Already on GitHub? # to your account

chore: fix some function names in comment #3967

Merged
merged 1 commit into from
Dec 1, 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 database/gdb/gdb_model_soft_time.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (m *softTimeMaintainer) GetFieldNameAndTypeForDelete(
)
}

// getSoftFieldName retrieves and returns the field name of the table for possible key.
// getSoftFieldNameAndType retrieves and returns the field name of the table for possible key.
func (m *softTimeMaintainer) getSoftFieldNameAndType(
ctx context.Context,
schema string, table string, checkFiledNames []string,
Expand Down
4 changes: 2 additions & 2 deletions encoding/gjson/gjson_api_encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func (j *Json) ToProperties() ([]byte, error) {
return gproperties.Encode(j.Map())
}

// TopropertiesString properties to string
// ToPropertiesString properties to string
func (j *Json) ToPropertiesString() (string, error) {
b, e := j.ToProperties()
return string(b), e
Expand All @@ -221,7 +221,7 @@ func (j *Json) MustToProperties() []byte {
return result
}

// MustTopropertiesString
// MustToPropertiesString
func (j *Json) MustToPropertiesString() string {
return string(j.MustToProperties())
}
2 changes: 1 addition & 1 deletion util/grand/grand_buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func init() {
go asyncProducingRandomBufferBytesLoop()
}

// asyncProducingRandomBufferBytes is a named goroutine, which uses an asynchronous goroutine
// asyncProducingRandomBufferBytesLoop is a named goroutine, which uses an asynchronous goroutine
// to produce the random bytes, and a buffer chan to store the random bytes.
// So it has high performance to generate random numbers.
func asyncProducingRandomBufferBytesLoop() {
Expand Down
Loading