Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GPXSegmentTransform ¶
type GPXSegmentTransform func(gpxSegment gpx.GPXTrackSegment) ([]gpx.GPXTrackSegment, error)
type TransformConfig ¶
type TransformConfig struct { FileT fun.Option[GPXFileTransform] FilesT fun.Option[GPXFilesTransform] TrackT fun.Option[GPXTrackTransform] SegmentT fun.Option[GPXSegmentTransform] }
func NewTransformConfig ¶
func NewTransformConfig(opts ...TransformConfigOpt) TransformConfig
type TransformConfigOpt ¶
type TransformConfigOpt func(tc TransformConfig) TransformConfig
func WithFileTransform ¶
func WithFileTransform(t GPXFileTransform) TransformConfigOpt
func WithFilesTransform ¶
func WithFilesTransform(t GPXFilesTransform) TransformConfigOpt
func WithSegmentTransform ¶
func WithSegmentTransform(t GPXSegmentTransform) TransformConfigOpt
func WithTrackTransform ¶
func WithTrackTransform(t GPXTrackTransform) TransformConfigOpt
Click to show internal directories.
Click to hide internal directories.