keys

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPrimaryKey

func BoolPrimaryKey(b bool) []byte

func BytesPrimaryKey

func BytesPrimaryKey(b []byte) []byte

func Int16PrimaryKey

func Int16PrimaryKey(i int16) []byte

Int16PrimaryKey returns a byte int16 representation such as -32,768 <= i <= 32,767

func Int32PrimaryKey

func Int32PrimaryKey(i int32) []byte

Int32PrimaryKey returns a byte int32 representation such as -2,147,483,648 <= i <= 2,147,483,647

func Int64PrimaryKey

func Int64PrimaryKey(i int64) []byte

Int64PrimaryKey returns a byte int64 representation such as -9,223,372,036,854,775,808 <= i <= 9,223,372,036,854,775,807

func Int8PrimaryKey

func Int8PrimaryKey(i int8) []byte

Int8PrimaryKey returns a byte int8 representation such as -128 <= i <= 127

func StringPrimaryKey

func StringPrimaryKey(s string) []byte

func Uint16PrimaryKey

func Uint16PrimaryKey(i uint16) []byte

func Uint32PrimaryKey

func Uint32PrimaryKey(i uint32) []byte

func Uint64PrimaryKey

func Uint64PrimaryKey(i uint64) []byte

func Uint8PrimaryKey

func Uint8PrimaryKey(i uint8) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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