big updates: tests, bug fixed, documentation. oh my
All checks were successful
Go / build (1.23) (push) Successful in 3m51s
All checks were successful
Go / build (1.23) (push) Successful in 3m51s
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
// Package encoding provides generic encoder and decoder function types.
|
||||
package encoding
|
||||
|
||||
import "io"
|
||||
|
||||
// Encoder is a function that encodes data to a writer.
|
||||
type Encoder func(io.Writer, interface{}) error
|
||||
|
||||
// Decoder is a function that decodes data from a reader.
|
||||
type Decoder func(io.Reader, interface{}) error
|
||||
|
||||
Reference in New Issue
Block a user