strconv

package
v1.44.2 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: OSL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AppendInt   = strconv.AppendInt
	AppendQuote = strconv.AppendQuote
	AppendUint  = strconv.AppendUint
	FormatFloat = strconv.FormatFloat
	Quote       = strconv.Quote
)

Functions

func Number

func Number[T Ordered](value T) string

func Size

func Size[T Ordered](value T) string

func String added in v1.43.7

func String(buf []byte) bool

mimesniff.spec.whatwg.org#binary-data-byte

Types

type Ordered added in v1.43.8

type Ordered interface {
	float64 | int | int64 | uint64
}

type Progress added in v1.44.1

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

func Progress_Bytes added in v1.44.1

func Progress_Bytes(dst io.Writer, bytes int64) *Progress

func Progress_Chunks added in v1.44.1

func Progress_Chunks(dst io.Writer, chunks int) *Progress

func (*Progress) Add_Chunk added in v1.44.1

func (p *Progress) Add_Chunk(bytes int64)

func (*Progress) Write added in v1.44.1

func (p *Progress) Write(buf []byte) (int, error)

Jump to

Keyboard shortcuts

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