key

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExampleKey

type ExampleKey struct {
	Field1 string
	Field2 int64
}

func NewExampleKey

func NewExampleKey(field1 string, field2 int64) *ExampleKey

func (ExampleKey) Key

func (k ExampleKey) Key() string

type Int64Key

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

func NewInt64Key

func NewInt64Key(key int64) *Int64Key

func (Int64Key) Key

func (k Int64Key) Key() string

type Key

type Key interface {
	Key() string
}

type StringKey

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

func NewStringKey

func NewStringKey(key string) *StringKey

func (StringKey) Key

func (s StringKey) Key() string

Jump to

Keyboard shortcuts

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