This repository contains the ADIF specification for Go. It is generated from the resources published by the ADIF Workgroup
go get github.com/farmergreg/spec@v6
Please see the example code here.
If you wish to update this library, the following steps are required:
-
Download the latest ADIF all.json file export from the ADIF Workgroup. This file must be placed into the
specdata/directory of this repository. -
Add code for any new enumerations to the src/pkg folder being careful to follow the existing style.
-
Update
internal/cmd/specgenif necessary. -
Run
go test ./...to run the tests. -
Run
go generate ./...to re-generate the Go code.
If you found this library useful, you may also be interested in the following projects:
- World's Fastest ADIF Parser
- Go ADIF Parser Benchmarks
- g3zod/CreateADIFTestFiles ADI Test Files
- g3zod/CreateADIFExportFiles ADIF Workgroup Specification Export Tool
This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.