Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataTypes ¶
type DataTypes struct { DataTypesId int64 `ssorm_key:"primary"` FirstName string TestTime spanner.NullTime ArrayString []spanner.NullString ArrayInt64 []int64 ArrayFloat64 []float64 BoolValue bool FloatValue float64 DateValue civil.Date CreateTime time.Time `spanner:"CreateTime" ssorm_key:"create_time"` UpdateTime time.Time `spanner:"UpdateTime" ssorm_key:"update_time"` DeleteTime spanner.NullTime `spanner:"DeleteTime" ssorm_key:"delete_time"` }
type Singer ¶
type Singer struct { SingerId int64 `ssorm_key:"primary"` FirstName string LastName spanner.NullString LastName2 spanner.NullString TestTime spanner.NullTime `spanner:"TestTime"` //NULL を許容する場合必ず、spanner.NullTimeを指定すること TestSpannerTime spanner.NullTime `spanner:"TestSpannerTime"` TagIDs []spanner.NullString `spanner:"TagIds"` Numbers []int64 `spanner:"Numbers"` Albums []*Albums `spanner:"Albums"` Concerts []*Concerts `spanner:"Concerts"` DeleteTime spanner.NullTime `spanner:"DeleteTime" ssorm_key:"delete_time"` CreateTime time.Time `spanner:"CreateTime" ssorm_key:"create_time"` UpdateTime time.Time `spanner:"UpdateTime" ssorm_key:"update_time"` }
type Singers ¶
type Singers struct { SingerId int64 `ssorm_key:"primary"` Name string `spanner:"FirstName"` FistInt int64 `ssorm_key:"ignore_write"` LastName spanner.NullString TestTime spanner.NullTime `spanner:"TestTime"` //NULL を許容する場合必ず、spanner.NullTimeを指定すること TestSpannerTime spanner.NullTime `spanner:"TestSpannerTime"` TagIDs []spanner.NullString `spanner:"TagIds"` Numbers []int64 `spanner:"Numbers"` DeleteTime spanner.NullTime `spanner:"DeleteTime" ssorm_key:"delete_time"` CreateTime time.Time `spanner:"CreateTime" ssorm_key:"create_time"` UpdateTime time.Time `spanner:"UpdateTime" ssorm_key:"update_time"` }
Click to show internal directories.
Click to hide internal directories.