mymove: github.com/transcom/mymove/pkg/edi Index | Files | Directories

package edi

import "github.com/transcom/mymove/pkg/edi"

Package edi utilizes Go's csv.Reader/csv.Writer for generating Electronic Data Interchange Files

This helps us: - Extend the current package if more complex EDI logic is necessary - Provide a more descriptive name for usage - Adhere to patterns of Go's stdlib csv.Writer/csv.Reader

Index

Package Files

edi.go

type Reader Uses

type Reader struct {
    *csv.Reader
}

Reader is just a wrapper for csv.Reader

func NewReader Uses

func NewReader(r io.Reader) *Reader

NewReader returns a wrapped csv.Reader with `Comma = '*'`

type Writer Uses

type Writer struct {
    *csv.Writer
}

Writer is just a wrapper for csv.Writer

func NewWriter Uses

func NewWriter(w io.Writer) *Writer

NewWriter returns a wrapped csv.Writer with `Comma = '*'`

Directories

PathSynopsis
invoice
segment

Package edi imports 2 packages (graph). Updated 2019-10-11. Refresh now. Tools for package owners.