f

package
v0.0.115 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const TYPE_FORMATED = "f"
View Source
const TYPE_UNFORMATED = "u"

Variables

This section is empty.

Functions

func BuildElements

func BuildElements(splitted []string) ([]string, int)

Types

type Format

type Format struct {
	Kind       string
	Group      string
	Identifier string
	Key        string
	Elems      int
	Category   string
	Type       string
}

func New

func New(elements ...string) Format

func NewFromString

func NewFromString(f string) Format

func (Format) Full

func (format Format) Full() bool

func (Format) GetCategory added in v0.0.114

func (format Format) GetCategory() string

func (Format) GetType added in v0.0.114

func (format Format) GetType() string

func (Format) IsValid

func (format Format) IsValid() bool

func (Format) ToBytes

func (format Format) ToBytes() []byte

func (Format) ToString

func (format Format) ToString() string

type Unformated added in v0.0.114

type Unformated struct {
	Key      string
	Category string
	Type     string
}

func NewUnformated added in v0.0.114

func NewUnformated(key string, category string) Unformated

func (Unformated) Full added in v0.0.114

func (format Unformated) Full() bool

func (Unformated) GetCategory added in v0.0.114

func (format Unformated) GetCategory() string

func (Unformated) GetType added in v0.0.114

func (format Unformated) GetType() string

func (Unformated) IsValid added in v0.0.114

func (format Unformated) IsValid() bool

func (Unformated) ToBytes added in v0.0.114

func (format Unformated) ToBytes() []byte

func (Unformated) ToString added in v0.0.114

func (format Unformated) ToString() string

Jump to

Keyboard shortcuts

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