shared

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ADIDate

type ADIDate struct {
	Time time.Time
}

ADIDate is a date in the ADIF format. It is stored as a string and is formatted as: YYYY/MM/DD

func (*ADIDate) UnmarshalCSV

func (d *ADIDate) UnmarshalCSV(csv string) error

type Deleted

type Deleted bool

Deleted is a boolean that indicates if the record is deleted.

func (*Deleted) UnmarshalCSV

func (a *Deleted) UnmarshalCSV(csv string) error

type HeaderField

type HeaderField bool

HeaderField is a boolean that indicates if the field is a header field in an ADI file.

func (*HeaderField) UnmarshalCSV

func (a *HeaderField) UnmarshalCSV(csv string) error

type ImportOnly

type ImportOnly bool

ImportOnly is a boolean that indicates if the record is an import-only record.

func (*ImportOnly) UnmarshalCSV

func (a *ImportOnly) UnmarshalCSV(csv string) error

type ImportRecordRoot

type ImportRecordRoot struct {
	IsImportOnly ImportOnly `csv:"Import-only"`
	IsReleased   Released   `csv:"ADIF Status"`
}

ImportRecordRoot is the root of an import record. It contains fields that are common to all imported records.

type Released

type Released bool

Released is a boolean that indicates if the record is released per the ADIF specification.

func (*Released) UnmarshalCSV

func (a *Released) UnmarshalCSV(csv string) error

Jump to

Keyboard shortcuts

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