clientfmt

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type String

type String struct {
	client.String
	// contains filtered or unexported fields
}

String is a client formatted string.

func Concat

func Concat(first client.String, more ...client.String) String

Concat returns a+b

func NewString

func NewString(s client.String, components ...client.Value) String

func Sprintf

func Sprintf(format string, args ...interface{}) String

Sprintf replaces the "%v" values in the fmt string with the given client values.

func (String) Components

func (s String) Components() []client.Value

Components implements clientside.Compound

Jump to

Keyboard shortcuts

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