parsing

package
v0.0.0-...-cdc6344 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteParser

func ExecuteParser(index int)

func GenTableHeader

func GenTableHeader(name string, containBreak bool)

func GenTableHeaderModified

func GenTableHeaderModified(name string)

Types

type DJI_CSV_Parser

type DJI_CSV_Parser struct {
	// contains filtered or unexported fields
}

func NewDJI_CSV_Parser

func NewDJI_CSV_Parser(fileName string) *DJI_CSV_Parser

func (*DJI_CSV_Parser) ParseContents

func (parser *DJI_CSV_Parser) ParseContents()

type DJI_GPX_Parser

type DJI_GPX_Parser struct {
	// contains filtered or unexported fields
}

func NewDJI_GPX_Parser

func NewDJI_GPX_Parser(fileName string) *DJI_GPX_Parser

func (*DJI_GPX_Parser) ParseContents

func (parser *DJI_GPX_Parser) ParseContents()

type DJI_KML_Parser

type DJI_KML_Parser struct {
	// contains filtered or unexported fields
}

func NewDJI_KML_Parser

func NewDJI_KML_Parser(fileName string) *DJI_KML_Parser

func (*DJI_KML_Parser) ParseContents

func (parser *DJI_KML_Parser) ParseContents()

type Data

type Data struct {
	Name  string `xml:"name,attr"`
	Value string `xml:"value"`
}

type ExtendedData

type ExtendedData struct {
	Data []Data `xml:"Data"`
}

type KML

type KML struct {
	Placemarks []Placemark `xml:"Document>Placemark"`
}

type LineString

type LineString struct {
	Coordinates string `xml:"coordinates"`
}

type Placemark

type Placemark struct {
	Name       string     `xml:"name"`
	Point      Point      `xml:"Point"`
	LineString LineString `xml:"LineString"`
}

type Point

type Point struct {
	Coordinates string `xml:"coordinates"`
}

Jump to

Keyboard shortcuts

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