Files
Thomas Klaehn 2945d90d24 Initial commit
Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
2026-02-08 07:30:31 +00:00
..
2026-02-08 07:30:31 +00:00
2026-02-08 07:30:31 +00:00
2026-02-08 07:30:31 +00:00
2026-02-08 07:30:31 +00:00
2026-02-08 07:30:31 +00:00
2026-02-08 07:30:31 +00:00

Test Data

This directory contains example FIT files for testing and demonstration purposes.

Files

  • Activity.fit (92 KB) - Full activity file from Garmin SDK with 3,601 data records
  • Settings.fit (82 bytes) - Simple settings file
  • MonitoringFile.fit (2.1 KB) - Daily monitoring data example
  • WorkoutIndividualSteps.fit (175 bytes) - Workout definition file
  • RealWorld_Cycling.fit (171 KB) - Real-world cycling activity from Wahoo ELEMNT device

Usage

package main

import (
    "log"
    "os"
    "git.blackfinn.de/go/fit-parser/fitparser"
)

func main() {
    data, _ := os.ReadFile("testdata/Activity.fit")
    decoder, _ := fitparser.NewDecoder(data)
    messages, err := decoder.Decode()
    if err != nil {
        log.Fatal(err)
    }
    // Process messages...
}

Source

License

These files are provided for testing and educational purposes. The FIT protocol and SDK are property of Garmin International, Inc.