edifact

package
v0.0.0-...-0ae63b9 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package for generating and parsing EDITFACT (http://en.wikipedia.org/wiki/EDIFACT). This package is pretty loose on the standard and doesn't enforce all the mandatory sections and such. Used as reference:

http://www.bic.org.uk/files/pdfs/070322-R2-EDIFACT-Transmission.pdf

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(segments Values) ([]byte, error)

Types

type Header [2]string

func (Header) ComponentDelimiter

func (h Header) ComponentDelimiter() byte

func (Header) DataDelimiter

func (h Header) DataDelimiter() byte

func (Header) Decimal

func (h Header) Decimal() byte

func (Header) ReleaseIndicator

func (h Header) ReleaseIndicator() byte

func (Header) RepetitionDelimiter

func (h Header) RepetitionDelimiter() byte

func (Header) SegmentTerminator

func (h Header) SegmentTerminator() byte

type SliceCallback

type SliceCallback func(reflect.Value) ([]byte, error)

A callback used to process a slice while marshalling

type Values

type Values []interface{}

func Unmarshal

func Unmarshal(data []byte) (Values, error)

unmarshals passed byte data

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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