qutils

package
v0.0.0-...-3b4bda9 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2016 License: GPL-3.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendUnique

func AppendUnique(list interface{}, elems ...interface{}) (newList interface{})

func BackgroundCopy

func BackgroundCopy(r io.Reader, w io.Writer) (copiedChan <-chan int, errChan <-chan error)

func BitLen

func BitLen(x uint64) (n int)

func BitfieldToBools

func BitfieldToBools(bitfield uint64, expectedLength int) (table []bool)

func BoolsToBitfield

func BoolsToBitfield(table []bool) (bitfield uint64)

func Breaks

func Breaks(s string) string

func ByteSlicesToStrings

func ByteSlicesToStrings(bss [][]byte) []string

func Contains

func Contains(list interface{}, elem interface{}) bool

func GrownCap

func GrownCap(newSize int) int

func IndexOf

func IndexOf(list interface{}, elem interface{}) (int, error)

func MultiplyThenDivide

func MultiplyThenDivide(factor1, factor2, divisor int64) int64

func Reverse

func Reverse(data sliceWrapper)

func Stack

func Stack() string

func Title

func Title(s string) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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