uid

package
v0.0.0-...-8699cbc Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2014 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PK_NAME = "@id" // Name of UID (PK) attribute
)

Variables

This section is empty.

Functions

func NextUID

func NextUID() uint64

Generate and return a new UID (Unique IDentifier).

func PKOfDoc

func PKOfDoc(doc map[string]interface{}, panicOnErr bool) uint64

Return value of the PK attribute in the document.

Types

This section is empty.

Jump to

Keyboard shortcuts

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