Skip to content

Commit

Permalink
Merge pull request #454 from wonksing/doc/comment-codec
Browse files Browse the repository at this point in the history
doc: Add comment to codec package
  • Loading branch information
frairon authored Aug 8, 2024
2 parents e6a3579 + 7d4a493 commit 19b594d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion codec/codec.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
/*
Package codec provides a set of codecs to encode and decode various data types to and from
byte slices([]byte).
*/
package codec

import (
"fmt"
"strconv"
)

// Bytes codec is
// Bytes is a commonly used codec to encode and decode string <-> []byte
type Bytes struct{}

// Encode does a type conversion into []byte
Expand Down

0 comments on commit 19b594d

Please sign in to comment.