mirror of
https://github.com/c0re100/gotdlib.git
synced 2026-02-21 20:20:17 +01:00
format fix
This commit is contained in:
parent
faee0d86f7
commit
9e9b0f6083
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ type JsonInt64 int64
|
||||||
|
|
||||||
// MarshalJSON marshals to json
|
// MarshalJSON marshals to json
|
||||||
func (jsonInt64 JsonInt64) MarshalJSON() ([]byte, error) {
|
func (jsonInt64 JsonInt64) MarshalJSON() ([]byte, error) {
|
||||||
return []byte(`"`+strconv.FormatInt(int64(jsonInt64), 10)+`"`), nil
|
return []byte(`"` + strconv.FormatInt(int64(jsonInt64), 10) + `"`), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalJSON unmarshals from json
|
// UnmarshalJSON unmarshals from json
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue