sar

package
v0.0.0-...-e537141 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data int

ENUM(

Slc
Mli
Rslc
Ifg

)

const (
	// DataSlc is a Data of type Slc.
	DataSlc Data = iota
	// DataMli is a Data of type Mli.
	DataMli
	// DataRslc is a Data of type Rslc.
	DataRslc
	// DataIfg is a Data of type Ifg.
	DataIfg
)

func ParseData

func ParseData(name string) (Data, error)

ParseData attempts to convert a string to a Data.

func (Data) MarshalText

func (x Data) MarshalText() ([]byte, error)

MarshalText implements the text marshaller method.

func (Data) String

func (x Data) String() string

String implements the Stringer interface.

func (*Data) UnmarshalText

func (x *Data) UnmarshalText(text []byte) error

UnmarshalText implements the text unmarshaller method.

type FileKind

type FileKind int

ENUM(

Data
Par
Tab

)

const (
	// FileKindData is a FileKind of type Data.
	FileKindData FileKind = iota
	// FileKindPar is a FileKind of type Par.
	FileKindPar
	// FileKindTab is a FileKind of type Tab.
	FileKindTab
)

func ParseFileKind

func ParseFileKind(name string) (FileKind, error)

ParseFileKind attempts to convert a string to a FileKind.

func (FileKind) MarshalText

func (x FileKind) MarshalText() ([]byte, error)

MarshalText implements the text marshaller method.

func (FileKind) String

func (x FileKind) String() string

String implements the Stringer interface.

func (*FileKind) UnmarshalText

func (x *FileKind) UnmarshalText(text []byte) error

UnmarshalText implements the text unmarshaller method.

Jump to

Keyboard shortcuts

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