Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrContextReaderEmpty = errors.New("context reader is empty")
Functions ¶
This section is empty.
Types ¶
type ContextReader ¶
type ContextReaderJSON ¶
type ContextReaderJSON struct {
// contains filtered or unexported fields
}
func NewContextReaderJSON ¶
func NewContextReaderJSON(input io.Reader) *ContextReaderJSON
func NewContextReaderJSONFromFile ¶
func NewContextReaderJSONFromFile(filepath string) (*ContextReaderJSON, error)
func NewContextReaderJSONLFromFile ¶
func NewContextReaderJSONLFromFile(filepath string) (*ContextReaderJSON, error)
func (*ContextReaderJSON) HasNext ¶
func (cr *ContextReaderJSON) HasNext() bool
func (*ContextReaderJSON) Next ¶
func (cr *ContextReaderJSON) Next() (any, error)
type ContextReaderJSONL ¶
type ContextReaderJSONL struct {
// contains filtered or unexported fields
}
func NewContextReaderJSONL ¶
func NewContextReaderJSONL(input io.Reader) *ContextReaderJSONL
func (*ContextReaderJSONL) HasNext ¶
func (cr *ContextReaderJSONL) HasNext() bool
func (*ContextReaderJSONL) Next ¶
func (cr *ContextReaderJSONL) Next() (any, error)
type ContextReaderYAML ¶
type ContextReaderYAML struct {
// contains filtered or unexported fields
}
func NewContextReaderYAML ¶
func NewContextReaderYAML(input io.Reader) *ContextReaderYAML
func NewContextReaderYAMLFromFile ¶
func NewContextReaderYAMLFromFile(filepath string) (*ContextReaderYAML, error)
func (*ContextReaderYAML) HasNext ¶
func (cr *ContextReaderYAML) HasNext() bool
func (*ContextReaderYAML) Next ¶
func (cr *ContextReaderYAML) Next() (any, error)
type FileSystem ¶
type FileSystem struct{}
Click to show internal directories.
Click to hide internal directories.