Directories
¶
Path | Synopsis |
---|---|
Package cmd provides CLI programs to work with FIT files.
|
Package cmd provides CLI programs to work with FIT files. |
fitconv/fitcsv
Package fitcsv provides the implementations of FIT listener's interfaces that can listen to the events emitted by the decoder.
|
Package fitcsv provides the implementations of FIT listener's interfaces that can listen to the events emitted by the decoder. |
Package decoder provides a handler to decode FIT files.
|
Package decoder provides a handler to decode FIT files. |
Package encoder provides a handler to encode data into FIT file binary form.
|
Package encoder provides a handler to encode data into FIT file binary form. |
Package factory contains predefined messages based on messages in [Profile.xlsx] provided in the Official FIT SDK.
|
Package factory contains predefined messages based on messages in [Profile.xlsx] provided in the Official FIT SDK. |
internal
|
|
cmd/fitgen/pkg/strutil
Package strutil is used only for naming package, variable, etc inside the go template.
|
Package strutil is used only for naming package, variable, etc inside the go template. |
sliceutil
Package sliceutil contains helper functions that either slices package does not provide or it's provided but not suitable for our use case.
|
Package sliceutil contains helper functions that either slices package does not provide or it's provided but not suitable for our use case. |
Package kit provides helpers for decoding and encoding as well as type conversion.
|
Package kit provides helpers for decoding and encoding as well as type conversion. |
datetime
Package datetime provides functions to convert uint32 timestamp to time.Time and vice-versa.
|
Package datetime provides functions to convert uint32 timestamp to time.Time and vice-versa. |
hash
Package hash provides interface for hash16 functions as an additional interface to the existing Go stdlib's Hash32 and Hash64.
|
Package hash provides interface for hash16 functions as an additional interface to the existing Go stdlib's Hash32 and Hash64. |
hash/crc16
Package crc16 implements the 16-bit cyclic redundancy check, or CRC-16, checksum.
|
Package crc16 implements the 16-bit cyclic redundancy check, or CRC-16, checksum. |
scaleoffset
Package scaleoffset provides functions for applying and discarding scale and offset from a value.
|
Package scaleoffset provides functions for applying and discarding scale and offset from a value. |
semicircles
Package semicircles provides functions for converting GPS units: semicircles to degrees and degrees to semicircles.
|
Package semicircles provides functions for converting GPS units: semicircles to degrees and degrees to semicircles. |
Package profile defines all the types and messages generated from Profile.xlsx using fitgen.
|
Package profile defines all the types and messages generated from Profile.xlsx using fitgen. |
basetype
Package basetype defines the base of all types used in FIT.
|
Package basetype defines the base of all types used in FIT. |
filedef
Package filedef contains general implementation of known common file types retrieved from Garmin or its affiliates website and a listener building block convert decoded FIT file into the desired common file type as soon as the message is decoded.
|
Package filedef contains general implementation of known common file types retrieved from Garmin or its affiliates website and a listener building block convert decoded FIT file into the desired common file type as soon as the message is decoded. |
mesgdef
Package mesgdef contains all the messages defined in the Global Profile (Profile.xlsx), which is generated by internal/cmd/fitgen/main.go.
|
Package mesgdef contains all the messages defined in the Global Profile (Profile.xlsx), which is generated by internal/cmd/fitgen/main.go. |
typedef
Package typedef contains all the types defined in the Global Profile (Profile.xlsx) generated by internal/cmd/fitgen/main.go.
|
Package typedef contains all the types defined in the Global Profile (Profile.xlsx) generated by internal/cmd/fitgen/main.go. |
untyped/fieldnum
Package fieldnum contains untyped constants for greater flexibility, intended to simplify code typing when creating messages and fields using the factory and reduce human error.
|
Package fieldnum contains untyped constants for greater flexibility, intended to simplify code typing when creating messages and fields using the factory and reduce human error. |
untyped/mesgnum
Package mesgnum contains untyped constants for greater flexibility, intended to simplify code typing when creating messages and fields using the factory and reduce human error.
|
Package mesgnum contains untyped constants for greater flexibility, intended to simplify code typing when creating messages and fields using the factory and reduce human error. |
Package proto defines the abstraction for FIT Protocol.
|
Package proto defines the abstraction for FIT Protocol. |
Click to show internal directories.
Click to hide internal directories.