mytime

package
v5.0.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

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) Scan

func (t *MyEnum) Scan(src interface{}) error

func (*MyEnum) SpannerScan

func (t *MyEnum) SpannerScan(src *spanner.GenericColumnValue) error

func (*MyEnum) SpannerValue

func (t *MyEnum) SpannerValue() (interface{}, error)

func (MyEnum) ToProto

func (t MyEnum) ToProto() test.TestEnum

func (MyEnum) ToSpanner

func (t MyEnum) ToSpanner(src test.TestEnum) *MyEnum

func (MyEnum) ToSql

func (t MyEnum) ToSql(src test.TestEnum) *MyEnum

func (*MyEnum) Value

func (t *MyEnum) Value() (driver.Value, error)

type MyTime

type MyTime struct {
	Seconds int64
	Nanos   int32
}

func (*MyTime) Scan

func (t *MyTime) Scan(src interface{}) error

func (*MyTime) SpannerScan

func (t *MyTime) SpannerScan(src *spanner.GenericColumnValue) error

func (*MyTime) SpannerValue

func (t *MyTime) SpannerValue() (interface{}, error)

func (MyTime) ToProto

func (s MyTime) ToProto() *timestamp.Timestamp

func (MyTime) ToSpanner

func (s MyTime) ToSpanner(src *timestamp.Timestamp) *MyTime

func (MyTime) ToSql

func (s MyTime) ToSql(src *timestamp.Timestamp) *MyTime

func (*MyTime) Value

func (t *MyTime) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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