Skip to content

Commit 9e985f6

Browse files
committed
types: fix godot lint suggestion
1 parent 2e83a5e commit 9e985f6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ var (
5050

5151
// Format writes the ID to the formatter.
5252
// If the rune is q the representation is non ambiguous,
53-
// string forms are quoted, number forms are preceded by a #
53+
// string forms are quoted, number forms are preceded by a #.
5454
func (id ID) Format(f fmt.State, r rune) {
5555
numF, strF := `%d`, `%s`
5656
if r == 'q' {

types_gojay.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ var (
125125
_ gojay.UnmarshalerJSONObject = (*WireRequest)(nil)
126126
)
127127

128-
// MarshalJSONObject implements gojay's MarshalerJSONObject
128+
// MarshalJSONObject implements gojay's MarshalerJSONObject.
129129
func (r *WireResponse) MarshalJSONObject(enc *gojay.Encoder) {
130130
enc.StringKey(keyJSONRPC, Version)
131131
enc.StringKeyOmitEmpty(keyID, fmt.Sprint(r.ID))
@@ -136,7 +136,7 @@ func (r *WireResponse) MarshalJSONObject(enc *gojay.Encoder) {
136136
// IsNil implements gojay.MarshalerJSONObject.
137137
func (r *WireResponse) IsNil() bool { return r == nil }
138138

139-
// UnmarshalJSONObject implements gojay.UnmarshalerJSONObject
139+
// UnmarshalJSONObject implements gojay.UnmarshalerJSONObject.
140140
func (r *WireResponse) UnmarshalJSONObject(dec *gojay.Decoder, k string) error {
141141
switch k {
142142
case keyJSONRPC:
@@ -170,7 +170,7 @@ var (
170170
_ gojay.UnmarshalerJSONObject = (*WireResponse)(nil)
171171
)
172172

173-
// MarshalJSONObject implements gojay's MarshalerJSONObject
173+
// MarshalJSONObject implements gojay's MarshalerJSONObject.
174174
func (r *Combined) MarshalJSONObject(enc *gojay.Encoder) {
175175
enc.StringKey(keyJSONRPC, Version)
176176
enc.StringKeyOmitEmpty(keyID, fmt.Sprint(r.ID))
@@ -183,7 +183,7 @@ func (r *Combined) MarshalJSONObject(enc *gojay.Encoder) {
183183
// IsNil implements gojay.MarshalerJSONObject.
184184
func (r *Combined) IsNil() bool { return r == nil }
185185

186-
// UnmarshalJSONObject implements gojay's UnmarshalerJSONObject
186+
// UnmarshalJSONObject implements gojay's UnmarshalerJSONObject.
187187
func (r *Combined) UnmarshalJSONObject(dec *gojay.Decoder, k string) error {
188188
switch k {
189189
case keyJSONRPC:

0 commit comments

Comments
 (0)