infocard

package
v1.61.2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: AGPL-3.0, AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func XmlToText

func XmlToText(raw string) ([]string, error)

Types

type Config

type Config struct {
	Infonames         map[int]Infoname
	NotParsedInfocard map[int]*NotParsedInfocard
	Infocards         map[int]*Infocard
}

func NewConfig

func NewConfig() *Config

type Infocard

type Infocard struct {
	Lines []string
}

func NewInfocard

func NewInfocard(Lines []string) *Infocard

type Infoname

type Infoname string

type NotParsedInfocard

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

func NewNotParsedInfocard

func NewNotParsedInfocard(Content string) *NotParsedInfocard

func (*NotParsedInfocard) GetContent

func (i *NotParsedInfocard) GetContent() string

func (*NotParsedInfocard) XmlToText

func (i *NotParsedInfocard) XmlToText() ([]string, error)

type RecordKind

type RecordKind string
const (
	TYPE_NAME    RecordKind = "NAME"
	TYPE_INFOCAD RecordKind = "INFOCARD"
)

Jump to

Keyboard shortcuts

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