Skip to content

Commit

Permalink
docs(usage.md): fix typo (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
muktihari committed Sep 28, 2023
1 parent 895b6d1 commit 0416078
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Table of Contents:

1. [Dicoding](./usage.md#Decoding)
- [Decode RAW Protocol Messages](#Decode-RAW-Protocol-Messages)
- [Decode to Common File Types](#Decode-to-Common-File-Types) (Currently only 4 common file types are defined)
- [Decode to Common File Types](#Decode-to-Common-File-Types) (Currently only 3 common file types are defined)
- [Peek FileId](#Peek-FileId)
- [Available Decode Options](#Available-Decode-Options)
2. [Encoding](#Encoding)
Expand Down Expand Up @@ -319,7 +319,7 @@ func main() {
defer bw.Flush() // write any buffered data to the underlying io.Writer.
enc := encoder.New(bw)
if err := enc.Encode(, fit); err != nil {
if err := enc.Encode(fit); err != nil {
panic(err)
}
}
Expand Down

0 comments on commit 0416078

Please sign in to comment.