Skip to content

Commit

Permalink
typo: replace typo "an" with "a"
Browse files Browse the repository at this point in the history
  • Loading branch information
shepherdma committed May 16, 2024
1 parent 82ee6e8 commit 0a57455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codec/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var (
lock sync.RWMutex
)

// Register defines the logic of register an codec by name. It will be
// Register defines the logic of register a codec by name. It will be
// called by init function defined by third package. If there is no server codec,
// the second param serverCodec can be nil.
func Register(name string, serverCodec Codec, clientCodec Codec) {
Expand Down

0 comments on commit 0a57455

Please sign in to comment.