ltext

package module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNew added in v1.0.1

func AddNew(list []string, str string) []string

add value if not exists

func CmpSlices

func CmpSlices(s1 []string, s2 []string) bool

func IsSpace

func IsSpace(run rune) bool

func Proc

func Proc(in io.Reader, fn StrFunc)

func Quoted

func Quoted(text string) string

func Stream

func Stream(in io.Reader, fn StrConvFunc, chanSize int) <-chan string

func Truncate

func Truncate(text string, limit int) string

Types

type StrConvFunc

type StrConvFunc func(string) string

type StrFunc

type StrFunc func(string)

Directories

Path Synopsis
encoding

Jump to

Keyboard shortcuts

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