remover

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Remove

func Remove(fit *proto.FIT, opts ...Option)

Remove removes messages based on given options.

Types

type Option

type Option func(o *options)

Option is remover options.

func WithRemoveDeveloperData

func WithRemoveDeveloperData() Option

WithRemoveDeveloperData directs Remove to removes all developer data: DeveloperId, FieldDescription and all DeveloperFields in messages.

func WithRemoveMesgNums

func WithRemoveMesgNums(nums map[typedef.MesgNum]struct{}) Option

WithRemoveMesgNums directs Remove to removes messages based on given message numbers.

func WithRemoveUnknown

func WithRemoveUnknown() Option

WithRemoveUnknown directs Remove to removes unknown messages not defined in Global Profile (Profile.xlsx).

Jump to

Keyboard shortcuts

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