data

package
v1.7.0-dev-20190926 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: Apache-2.0 Imports: 2 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dedupe added in v1.1.0

func Dedupe(slices [][]byte) ([]byte, []int)

Dedupe returns a new byte slice containing the concatenated bytes of slices with duplicates removed, along with indices that map slices into the new slice.

Types

type Assignable

type Assignable interface {
	// Assign assigns v to this value, returning true on success or false if v
	// cannot be assigned to this type.
	Assign(v interface{}) bool
}

Assignable is the interface implemented by types that can be assigned another value.

Directories

Path Synopsis
Package compare has utilities for comparing values.
Package compare has utilities for comparing values.
Package deep provides reflection based methods for copying and cloning structs.
Package deep provides reflection based methods for copying and cloning structs.
Package dictionary provides utilities for operating on map-like types.
Package dictionary provides utilities for operating on map-like types.
Package endian implements binary.Reader and binary.Writer for reading / writing simple primivite types from a binary source.
Package endian implements binary.Reader and binary.Writer for reading / writing simple primivite types from a binary source.
Package generic provides methods to test whether a type conforms to a generic interface.
Package generic provides methods to test whether a type conforms to a generic interface.
Package id provides types and functions for generation of identifiers.
Package id provides types and functions for generation of identifiers.
Package pack provides methods to deal with self describing files of proto data.
Package pack provides methods to deal with self describing files of proto data.
Package pod provides types and functions for dealing with simple structured objects.
Package pod provides types and functions for dealing with simple structured objects.
Package protoconv provides a mechanism to register functions to convert objects to and from proto messages.
Package protoconv provides a mechanism to register functions to convert objects to and from proto messages.
Package protoutil adds some helpers that makes using protobuf structures a little easier.
Package protoutil adds some helpers that makes using protobuf structures a little easier.
testprotos
Package testprotos provides some proto messages that can be used for tests.
Package testprotos provides some proto messages that can be used for tests.
Package slice provides utilities for mutating generic slices.
Package slice provides utilities for mutating generic slices.

Jump to

Keyboard shortcuts

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