marshallers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const UTF8_BOM = "\uFEFF"

Variables

This section is empty.

Functions

func GenericUnmarshalV2Xml

func GenericUnmarshalV2Xml(dirtyXml string) (interface{}, error)

GenericUnmarshalV2Xml can be called with any valid IOF v2 XML document. You will need to cast it to the correct type yourself.

func GenericUnmarshalV3Xml

func GenericUnmarshalV3Xml(dirtyXml string) (interface{}, error)

GenericUnmarshalV3Xml can be called with any valid IOF v3 XML document. You will need to cast it to the correct type yourself.

func MarshallIofXml

func MarshallIofXml(element interface{}) (string, error)

func MarshallToIofUnofficialJson

func MarshallToIofUnofficialJson(element interface{}) (string, error)

func UnmarshalIofV3ClassList

func UnmarshalIofV3ClassList(xml string) iof_v3.ClassList

func UnmarshalIofV3CompetitorList

func UnmarshalIofV3CompetitorList(xml string) iof_v3.CompetitorList

func UnmarshalIofV3ControlCardList

func UnmarshalIofV3ControlCardList(xml string) iof_v3.ControlCardList

func UnmarshalIofV3CourseData

func UnmarshalIofV3CourseData(xml string) iof_v3.CourseData

func UnmarshalIofV3EntryList

func UnmarshalIofV3EntryList(xml string) iof_v3.EntryList

func UnmarshalIofV3EventList

func UnmarshalIofV3EventList(xml string) iof_v3.EventList

func UnmarshalIofV3OrganisationList

func UnmarshalIofV3OrganisationList(xml string) iof_v3.OrganisationList

func UnmarshalIofV3ResultList

func UnmarshalIofV3ResultList(xml string) iof_v3.ResultList

func UnmarshalIofV3ServiceRequestList

func UnmarshalIofV3ServiceRequestList(xml string) iof_v3.ServiceRequestList

func UnmarshalIofV3StartList

func UnmarshalIofV3StartList(xml string) iof_v3.StartList

Types

This section is empty.

Jump to

Keyboard shortcuts

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