Skip to content

Commit

Permalink
chore: update document
Browse files Browse the repository at this point in the history
  • Loading branch information
nonzzz committed Aug 21, 2023
1 parent bf9fa7c commit 54d8666
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.torrent
*.torrent
coverage
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ A bencode encode and decode library implement by go.
- [x] UnMarshal


## Install

```bash

go get github.com/nonzzz/bencode

```

## LICENSE

[MIT](./LICENSE)
Expand Down
3 changes: 0 additions & 3 deletions encode.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ func (encode *encode) encodeSlice(value reflect.Value) {
encode.output = append(encode.output, EndOfType)
}

// TODO
func (encode *encode) encodeBinary() {}

func (encode *encode) encodeNumeric(s string) {
var sb strings.Builder
sb.WriteByte(NumericStart)
Expand Down

0 comments on commit 54d8666

Please sign in to comment.