Skip to content

Commit 6be24eb

Browse files
committed
Fix comment typo
1 parent 07871c0 commit 6be24eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgtype/pgtype.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ func codecDecodeToTextFormat(codec Codec, m *Map, oid uint32, format int16, src
12091209
}
12101210
}
12111211

1212-
// PlanEncode returns an Encode plan for encoding value into PostgreSQL format for oid and format. If no plan can be
1212+
// PlanEncode returns an EncodePlan for encoding value into PostgreSQL format for oid and format. If no plan can be
12131213
// found then nil is returned.
12141214
func (m *Map) PlanEncode(oid uint32, format int16, value any) EncodePlan {
12151215
return m.planEncodeDepth(oid, format, value, 0)

0 commit comments

Comments
 (0)