paramtext

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToPair

func ToPair(s string, sep string) (k, v string)

get k, v

Types

type ParamKV

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

func NewParamKV

func NewParamKV(plainText string) *ParamKV

func NewParamKVSeperate

func NewParamKVSeperate(plainText string, separate string, kvPipe string) *ParamKV

func (*ParamKV) ExistsKey

func (this *ParamKV) ExistsKey(key string) bool

func (*ParamKV) GetKeys

func (this *ParamKV) GetKeys() []string

func (*ParamKV) GetOriginal

func (this *ParamKV) GetOriginal() string

func (*ParamKV) GetValue

func (this *ParamKV) GetValue(key string) string

func (*ParamKV) ToString

func (this *ParamKV) ToString() string

func (*ParamKV) ToStringMap

func (this *ParamKV) ToStringMap(p map[string]string) string

func (*ParamKV) ToStringStr

func (this *ParamKV) ToStringStr(k, v string) string

type ParamText

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

func NewParamText

func NewParamText(plainText string) *ParamText

func NewParamTextBrace

func NewParamTextBrace(plainText string, startBrace string, endBrace string) *ParamText

func (*ParamText) GetKeys

func (this *ParamText) GetKeys() []string

func (*ParamText) GetOriginal

func (this *ParamText) GetOriginal() string

func (*ParamText) ToStringMap

func (this *ParamText) ToStringMap(p map[string]string) string

func (*ParamText) ToStringStr

func (this *ParamText) ToStringStr(p string) string

type REF

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

Jump to

Keyboard shortcuts

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