profile

package
v0.23.6 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProfileType string = "ProfileType"
	FitBaseType string = "fit_base_type"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder added in v0.21.1

type Builder struct {
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(path, profileVersion string, types []parser.Type) *Builder

func (*Builder) Build added in v0.21.1

func (b *Builder) Build() ([]generator.Data, error)

type ProfileData

type ProfileData struct {
	ConstantData                  shared.ConstantData
	MappingProfileTypeToBaseTypes []ProfileTypeBaseType
	MappingBaseTypeToProfileTypes []ProfileTypeBaseType
}

ProfileData is data representative of profile.tmpl

type ProfileTypeBaseType added in v0.11.0

type ProfileTypeBaseType struct {
	ProfileType string
	BaseType    string
}

ProfileTypeBaseType is mapping struct from ProfileType to its BaseType or vise versa.

type VersionData

type VersionData struct {
	ProfileVersion string
	Package        string
	Major          uint16
	Minor          uint16
	Version        uint16
}

VersionData is data representative of version.tmpl

Directories

Path Synopsis
untyped

Jump to

Keyboard shortcuts

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