Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRawX12FileReader ¶
Types ¶
type ElementValue ¶
type RawSegment ¶
type Segment ¶
func NewSegment ¶
func (*Segment) GetAllValues ¶
func (s *Segment) GetAllValues() <-chan ElementValue
type X12Path ¶
type X12Path struct { Path string // no leading slash indicates a relative path SegmentId string IdValue string ElementIdx int SubelementIdx int }
An X12 path is comprised of a path of loop identifiers, a segment identifier, and element position, and a composite position.
The last loop id might be a segment id. /LOOP_1/LOOP_2 /LOOP_1/LOOP_2/SEG /LOOP_1/LOOP_2/SEG02 /LOOP_1/LOOP_2/SEG[424]02-1 LOOP_2/SEG02 SEG[434]02-1 02-1 02
func ParseX12Path ¶
Parse parses an X12 Path string into component parts, The last part of the may may be a segment identifier
Click to show internal directories.
Click to hide internal directories.