chore: fix some function names in comment (#3967)

This commit is contained in:
Long FlyBridge
2024-12-01 11:29:09 +08:00
committed by GitHub
parent c1850d4ab5
commit ec6e091882
3 changed files with 4 additions and 4 deletions

View File

@ -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
@ -221,7 +221,7 @@ func (j *Json) MustToProperties() []byte {
return result
}
// MustTopropertiesString
// MustToPropertiesString
func (j *Json) MustToPropertiesString() string {
return string(j.MustToProperties())
}