text

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToString

func ToString(from any) (to string)

ToString 将任意类型转换为字符串

func ToStrings

func ToStrings(from ...any) (to []string)

ToStrings 将任意类型转换成字符串列表

Types

type Builder

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

func NewBuilder

func NewBuilder(items ...any) (builder *Builder)

NewBuilder 创建连写字符串

func (*Builder) Append

func (b *Builder) Append(item any) *Builder

func (*Builder) Bytes

func (b *Builder) Bytes() []byte

func (*Builder) String

func (b *Builder) String() string

Jump to

Keyboard shortcuts

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