testentity

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestEntity

type TestEntity struct {
	dosa.Entity `dosa:"name=awesome_test_entity, primaryKey=(UUIDKey, StrKey ASC, Int64Key DESC)"`
	UUIDKey     dosa.UUID `dosa:"name=an_uuid_key"`
	StrKey      string
	Int64Key    int64
	UUIDV       dosa.UUID
	StrV        string
	Int64V      int64 `dosa:"name=an_int64_value"`
	Int32V      int32
	DoubleV     float64
	BoolV       bool
	BlobV       []byte
	TSV         time.Time

	UUIDVP   *dosa.UUID
	StrVP    *string
	Int64VP  *int64
	Int32VP  *int32
	DoubleVP *float64
	BoolVP   *bool
	TSVP     *time.Time
}

TestEntity uses common key types and all types in value fields.

type TestNamedImportEntity

type TestNamedImportEntity struct {
	dosav2.Entity `dosa:"name=named_import_entity, primaryKey=(UUIDKey, StrKey ASC, Int64Key DESC)"`
	UUIDKey       dosav2.UUID `dosa:"name=an_uuid_key"`
	StrKey        string
	Int64Key      int64
	UUIDV         dosav2.UUID
	StrV          string
	Int64V        int64 `dosa:"name=an_int64_value"`
	Int32V        int32
	DoubleV       float64
	BoolV         bool
	BlobV         []byte
	TSV           time.Time
}

TestNamedImportEntity uses common key types and all types in value fields.

Jump to

Keyboard shortcuts

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