mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
chore: fix some function names in comment (#3967)
This commit is contained in:
@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user