Browse Source

Fixed typo in docstring (#158)

Joe Farrell 9 years ago
parent
commit
4a1cb5252a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      codec/0doc.go

+ 1 - 1
codec/0doc.go

@@ -181,7 +181,7 @@ package codec
 //   - Decoding using a chan is good, but incurs concurrency costs.
 //   - Decoding using a chan is good, but incurs concurrency costs.
 //     This is because there's no fast way to use a channel without it
 //     This is because there's no fast way to use a channel without it
 //     having to switch goroutines constantly.
 //     having to switch goroutines constantly.
-//     Callback pattern is still the best. Maybe cnsider supporting something like:
+//     Callback pattern is still the best. Maybe consider supporting something like:
 //        type X struct {
 //        type X struct {
 //             Name string
 //             Name string
 //             Ys []Y
 //             Ys []Y