fixedlength

package
v0.0.0-...-54282bc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsErrInvalidEnvelope

func IsErrInvalidEnvelope(err error) bool

IsErrInvalidEnvelope checks if an error is of ErrInvalidEnvelope type.

func NewFixedLengthFileFormat

func NewFixedLengthFileFormat(schemaName string) fileformat.FileFormat

NewFixedLengthFileFormat creates a FileFormat for fixed-length files.

func NewReader

func NewReader(inputName string, r io.Reader, decl *fileDecl, xpathStr string) (*reader, error)

NewReader creates an FormatReader for fixed-length file format.

Types

type ErrInvalidEnvelope

type ErrInvalidEnvelope string

ErrInvalidEnvelope indicates a fixed-length input envelope is invalid. This is a fatal, non-continuable error.

func (ErrInvalidEnvelope) Error

func (e ErrInvalidEnvelope) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL