view

package
v0.4.41 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Any

func Any(x any, ps *cutil.PageState) string

func AnyByType added in v0.4.4

func AnyByType(x any, t *types.Wrapped, ps *cutil.PageState) string

func Bool

func Bool(b bool) string

func BoolIcon added in v0.4.4

func BoolIcon(b bool, size int, cls string, ps *cutil.PageState, titles ...string) string
func CodeLink(path string, title string, ps *cutil.PageState) string

func Color added in v0.4.4

func Color(clr string, cls string, ps *cutil.PageState) string

func Default

func Default(x any, t string, ps *cutil.PageState) string

func Diffs

func Diffs(value util.Diffs) string

func DiffsSet

func DiffsSet(key string, value util.DiffsSet, limit int, ps *cutil.PageState) string

func DurationSeconds added in v0.4.4

func DurationSeconds(seconds float64) string

func Float

func Float(f any) string

func FloatArray

func FloatArray(value []any) string

func Format

func Format(v string, ext string) string

func Int

func Int(i any) string

func IntArray

func IntArray(value []any) string

func Map added in v0.4.4

func Map(preserveWhitespace bool, m util.ValueMap, ps *cutil.PageState) string

func MapArray

func MapArray(preserveWhitespace bool, ps *cutil.PageState, maps ...util.ValueMap) string

func MapKeys added in v0.4.18

func MapKeys(m util.ValueMap) string

func Option

func Option(x any, t *types.Option, ps *cutil.PageState) string

func OrderedMap added in v0.4.37

func OrderedMap(preserveWhitespace bool, m *util.OrderedMap[any], ps *cutil.PageState) string

func OrderedMapArray added in v0.4.37

func OrderedMapArray(preserveWhitespace bool, ps *cutil.PageState, maps ...*util.OrderedMap[any]) string

func Package

func Package(v util.Pkg) string

func StreamAny

func StreamAny(qw422016 *qt422016.Writer, x any, ps *cutil.PageState)

func StreamAnyByType added in v0.4.4

func StreamAnyByType(qw422016 *qt422016.Writer, x any, t *types.Wrapped, ps *cutil.PageState)

func StreamBool

func StreamBool(qw422016 *qt422016.Writer, b bool)

func StreamBoolIcon added in v0.4.4

func StreamBoolIcon(qw422016 *qt422016.Writer, b bool, size int, cls string, ps *cutil.PageState, titles ...string)
func StreamCodeLink(qw422016 *qt422016.Writer, path string, title string, ps *cutil.PageState)

func StreamColor added in v0.4.4

func StreamColor(qw422016 *qt422016.Writer, clr string, cls string, ps *cutil.PageState)

func StreamDefault

func StreamDefault(qw422016 *qt422016.Writer, x any, t string, ps *cutil.PageState)

func StreamDiffs

func StreamDiffs(qw422016 *qt422016.Writer, value util.Diffs)

func StreamDiffsSet

func StreamDiffsSet(qw422016 *qt422016.Writer, key string, value util.DiffsSet, limit int, ps *cutil.PageState)

func StreamDurationSeconds added in v0.4.4

func StreamDurationSeconds(qw422016 *qt422016.Writer, seconds float64)

func StreamFloat

func StreamFloat(qw422016 *qt422016.Writer, f any)

func StreamFloatArray

func StreamFloatArray(qw422016 *qt422016.Writer, value []any)

func StreamFormat

func StreamFormat(qw422016 *qt422016.Writer, v string, ext string)

func StreamInt

func StreamInt(qw422016 *qt422016.Writer, i any)

func StreamIntArray

func StreamIntArray(qw422016 *qt422016.Writer, value []any)

func StreamMap added in v0.4.4

func StreamMap(qw422016 *qt422016.Writer, preserveWhitespace bool, m util.ValueMap, ps *cutil.PageState)

func StreamMapArray

func StreamMapArray(qw422016 *qt422016.Writer, preserveWhitespace bool, ps *cutil.PageState, maps ...util.ValueMap)

func StreamMapKeys added in v0.4.18

func StreamMapKeys(qw422016 *qt422016.Writer, m util.ValueMap)

func StreamOption

func StreamOption(qw422016 *qt422016.Writer, x any, t *types.Option, ps *cutil.PageState)

func StreamOrderedMap added in v0.4.37

func StreamOrderedMap(qw422016 *qt422016.Writer, preserveWhitespace bool, m *util.OrderedMap[any], ps *cutil.PageState)

func StreamOrderedMapArray added in v0.4.37

func StreamOrderedMapArray(qw422016 *qt422016.Writer, preserveWhitespace bool, ps *cutil.PageState, maps ...*util.OrderedMap[any])

func StreamPackage

func StreamPackage(qw422016 *qt422016.Writer, v util.Pkg)

func StreamString

func StreamString(qw422016 *qt422016.Writer, value string, classes ...string)

func StreamStringArray

func StreamStringArray(qw422016 *qt422016.Writer, value []string)

func StreamStringRich

func StreamStringRich(qw422016 *qt422016.Writer, value string, code bool, maxLength int, classes ...string)

func StreamTags added in v0.4.18

func StreamTags(qw422016 *qt422016.Writer, values []string, titles []string, url ...string)

func StreamTimestamp

func StreamTimestamp(qw422016 *qt422016.Writer, value *time.Time)

func StreamTimestampDay

func StreamTimestampDay(qw422016 *qt422016.Writer, value *time.Time)

func StreamTimestampMillis added in v0.4.0

func StreamTimestampMillis(qw422016 *qt422016.Writer, value *time.Time)

func StreamTimestampRelative

func StreamTimestampRelative(qw422016 *qt422016.Writer, value *time.Time, static bool)

func StreamType

func StreamType(qw422016 *qt422016.Writer, v types.Type)

func StreamURL added in v0.4.4

func StreamURL(qw422016 *qt422016.Writer, u any, content string, includeExternalIcon bool, ps *cutil.PageState)

func StreamUUID

func StreamUUID(qw422016 *qt422016.Writer, value *uuid.UUID)

func String

func String(value string, classes ...string) string

func StringArray

func StringArray(value []string) string

func StringRich

func StringRich(value string, code bool, maxLength int, classes ...string) string

func Tags added in v0.4.18

func Tags(values []string, titles []string, url ...string) string

func Timestamp

func Timestamp(value *time.Time) string

func TimestampDay

func TimestampDay(value *time.Time) string

func TimestampMillis added in v0.4.0

func TimestampMillis(value *time.Time) string

func TimestampRelative

func TimestampRelative(value *time.Time, static bool) string

func Type

func Type(v types.Type) string

func URL added in v0.4.4

func URL(u any, content string, includeExternalIcon bool, ps *cutil.PageState) string

func UUID

func UUID(value *uuid.UUID) string

func WriteAny

func WriteAny(qq422016 qtio422016.Writer, x any, ps *cutil.PageState)

func WriteAnyByType added in v0.4.4

func WriteAnyByType(qq422016 qtio422016.Writer, x any, t *types.Wrapped, ps *cutil.PageState)

func WriteBool

func WriteBool(qq422016 qtio422016.Writer, b bool)

func WriteBoolIcon added in v0.4.4

func WriteBoolIcon(qq422016 qtio422016.Writer, b bool, size int, cls string, ps *cutil.PageState, titles ...string)
func WriteCodeLink(qq422016 qtio422016.Writer, path string, title string, ps *cutil.PageState)

func WriteColor added in v0.4.4

func WriteColor(qq422016 qtio422016.Writer, clr string, cls string, ps *cutil.PageState)

func WriteDefault

func WriteDefault(qq422016 qtio422016.Writer, x any, t string, ps *cutil.PageState)

func WriteDiffs

func WriteDiffs(qq422016 qtio422016.Writer, value util.Diffs)

func WriteDiffsSet

func WriteDiffsSet(qq422016 qtio422016.Writer, key string, value util.DiffsSet, limit int, ps *cutil.PageState)

func WriteDurationSeconds added in v0.4.4

func WriteDurationSeconds(qq422016 qtio422016.Writer, seconds float64)

func WriteFloat

func WriteFloat(qq422016 qtio422016.Writer, f any)

func WriteFloatArray

func WriteFloatArray(qq422016 qtio422016.Writer, value []any)

func WriteFormat

func WriteFormat(qq422016 qtio422016.Writer, v string, ext string)

func WriteInt

func WriteInt(qq422016 qtio422016.Writer, i any)

func WriteIntArray

func WriteIntArray(qq422016 qtio422016.Writer, value []any)

func WriteMap added in v0.4.4

func WriteMap(qq422016 qtio422016.Writer, preserveWhitespace bool, m util.ValueMap, ps *cutil.PageState)

func WriteMapArray

func WriteMapArray(qq422016 qtio422016.Writer, preserveWhitespace bool, ps *cutil.PageState, maps ...util.ValueMap)

func WriteMapKeys added in v0.4.18

func WriteMapKeys(qq422016 qtio422016.Writer, m util.ValueMap)

func WriteOption

func WriteOption(qq422016 qtio422016.Writer, x any, t *types.Option, ps *cutil.PageState)

func WriteOrderedMap added in v0.4.37

func WriteOrderedMap(qq422016 qtio422016.Writer, preserveWhitespace bool, m *util.OrderedMap[any], ps *cutil.PageState)

func WriteOrderedMapArray added in v0.4.37

func WriteOrderedMapArray(qq422016 qtio422016.Writer, preserveWhitespace bool, ps *cutil.PageState, maps ...*util.OrderedMap[any])

func WritePackage

func WritePackage(qq422016 qtio422016.Writer, v util.Pkg)

func WriteString

func WriteString(qq422016 qtio422016.Writer, value string, classes ...string)

func WriteStringArray

func WriteStringArray(qq422016 qtio422016.Writer, value []string)

func WriteStringRich

func WriteStringRich(qq422016 qtio422016.Writer, value string, code bool, maxLength int, classes ...string)

func WriteTags added in v0.4.18

func WriteTags(qq422016 qtio422016.Writer, values []string, titles []string, url ...string)

func WriteTimestamp

func WriteTimestamp(qq422016 qtio422016.Writer, value *time.Time)

func WriteTimestampDay

func WriteTimestampDay(qq422016 qtio422016.Writer, value *time.Time)

func WriteTimestampMillis added in v0.4.0

func WriteTimestampMillis(qq422016 qtio422016.Writer, value *time.Time)

func WriteTimestampRelative

func WriteTimestampRelative(qq422016 qtio422016.Writer, value *time.Time, static bool)

func WriteType

func WriteType(qq422016 qtio422016.Writer, v types.Type)

func WriteURL added in v0.4.4

func WriteURL(qq422016 qtio422016.Writer, u any, content string, includeExternalIcon bool, ps *cutil.PageState)

func WriteUUID

func WriteUUID(qq422016 qtio422016.Writer, value *uuid.UUID)

Types

This section is empty.

Jump to

Keyboard shortcuts

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