Documentation ¶
Index ¶
- Constants
- type ID
- func (id ID) AttributeValue() *dynamodb.AttributeValue
- func (id ID) Int64() int64
- func (id ID) IsPresent() bool
- func (id ID) IsZero() bool
- func (id ID) Key() Key
- func (id *ID) Scan(src interface{}) error
- func (id ID) String() string
- func (id ID) String36() string
- func (id ID) Value() (driver.Value, error)
- type IDFactory
- type Key
- type StringArray
- func (arr StringArray) Append(items ...string) StringArray
- func (arr StringArray) Map(fn func(string) string) StringArray
- func (arr *StringArray) Scan(in interface{}) error
- func (arr StringArray) Take(n int) StringArray
- func (arr StringArray) Unique() StringArray
- func (arr StringArray) Value() (driver.Value, error)
- type StringSet
Constants ¶
View Source
const (
ZeroID = ID(0)
)
View Source
const (
ZeroKey = Key("")
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ID ¶
type ID int64
func (ID) AttributeValue ¶
func (id ID) AttributeValue() *dynamodb.AttributeValue
type Key ¶
type Key string
func (Key) AttributeValue ¶
func (k Key) AttributeValue() *dynamodb.AttributeValue
type StringArray ¶
type StringArray []string
func (StringArray) Append ¶
func (arr StringArray) Append(items ...string) StringArray
func (StringArray) Map ¶
func (arr StringArray) Map(fn func(string) string) StringArray
func (*StringArray) Scan ¶
func (arr *StringArray) Scan(in interface{}) error
func (StringArray) Take ¶
func (arr StringArray) Take(n int) StringArray
func (StringArray) Unique ¶
func (arr StringArray) Unique() StringArray
Unique returns a new []string with all the empty duplicate removed
Click to show internal directories.
Click to hide internal directories.