strings

package
v0.0.0-...-0d25092 Latest Latest
Warning

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

Go to latest
Published: May 18, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrIndex = errors.New("index error")

Functions

This section is empty.

Types

type String

type String struct {
	String string
	Bytes  []byte
	Runes  []rune
	// contains filtered or unexported fields
}

func FromBytes

func FromBytes(byteStr []byte) *String

func FromString

func FromString(str string) *String

func (*String) ByteToRuneRange

func (s *String) ByteToRuneRange(from, to int) (int, int, error)

func (String) Clone

func (s String) Clone() *String

Jump to

Keyboard shortcuts

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