specdata

package
v6.0.0-beta.33 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2025 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadADIFJson

func LoadADIFJson(data []byte) (*spec.AdifSpecContainer, error)

LoadADIFJson loads the ADIF Workgroup Specification from a JSON byte slice.

func LoadADIFSpec

func LoadADIFSpec() *spec.AdifSpecContainer

Returns the ADIF Workgroup Specification EXACTLY as defined in the all.json export. This data is re-created every time this function is called.

func LoadADIFSpecWithExtras

func LoadADIFSpecWithExtras() *spec.AdifSpec

Returns the ADIF Workgroup Specification, defined in the all.json export, but with some modifications: 1. USERDEFn is replaced with USERDEF1, USERDEF2, ..., USERDEF9. 2. Extra fields from fields_extra.json are added to the specification. 3. All enum key values are converted to UPPERCASE to make using strings.ToUpper faster when comparing ADIF key values (enums are case insensitive). This data is re-created every time this function is called.

Types

This section is empty.

Jump to

Keyboard shortcuts

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