Documentation ¶
Index ¶
- type MyEnum
- func (t *MyEnum) Scan(src interface{}) error
- func (t *MyEnum) SpannerScan(src *spanner.GenericColumnValue) error
- func (t *MyEnum) SpannerValue() (interface{}, error)
- func (t MyEnum) ToProto() test.TestEnum
- func (t MyEnum) ToSpanner(src test.TestEnum) *MyEnum
- func (t MyEnum) ToSql(src test.TestEnum) *MyEnum
- func (t *MyEnum) Value() (driver.Value, error)
- type MyTime
- func (t *MyTime) Scan(src interface{}) error
- func (t *MyTime) SpannerScan(src *spanner.GenericColumnValue) error
- func (t *MyTime) SpannerValue() (interface{}, error)
- func (s MyTime) ToProto() *timestamp.Timestamp
- func (s MyTime) ToSpanner(src *timestamp.Timestamp) *MyTime
- func (s MyTime) ToSql(src *timestamp.Timestamp) *MyTime
- func (t *MyTime) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyEnum ¶
type MyEnum struct {
Status int32
}
func (*MyEnum) SpannerScan ¶
func (t *MyEnum) SpannerScan(src *spanner.GenericColumnValue) error
func (*MyEnum) SpannerValue ¶
type MyTime ¶
func (*MyTime) SpannerScan ¶
func (t *MyTime) SpannerScan(src *spanner.GenericColumnValue) error
func (*MyTime) SpannerValue ¶
Click to show internal directories.
Click to hide internal directories.