[#794] fixed comment typos

This commit is contained in:
Jan Lauber authored and GitHub committed 2022-10-17 20:17:44 +03:00
1 parent 6385c5e646
commit 9cbb2e750e
11 files changed
+15 -13

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ func (d DateTime) IsZero() bool {
return d.Time().IsZero()
}
// String serializes the current DateTime instance into a formated
// String serializes the current DateTime instance into a formatted
// UTC date string.
//
// The zero value is serialized to an empty string.
+1 -1
View File
@@ -13,7 +13,7 @@ type JsonArray []any
func (m JsonArray) MarshalJSON() ([]byte, error) {
type alias JsonArray // prevent recursion
// inialize an empty map to ensure that `[]` is returned as json
// initialize an empty map to ensure that `[]` is returned as json
if m == nil {
m = JsonArray{}
}
+1 -1
View File
@@ -13,7 +13,7 @@ type JsonMap map[string]any
func (m JsonMap) MarshalJSON() ([]byte, error) {
type alias JsonMap // prevent recursion
// inialize an empty map to ensure that `{}` is returned as json
// initialize an empty map to ensure that `{}` is returned as json
if m == nil {
m = JsonMap{}
}