Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SingerProvider ¶
type SingerProvider struct {
Client *googleSpanner.Client
}
SingerProvider implements singer.Repository
func (*SingerProvider) Create ¶
func (repo *SingerProvider) Create(ctx context.Context, payload singer.CreatePayload) error
Create store singer to Spanner
func (*SingerProvider) List ¶
func (repo *SingerProvider) List(ctx context.Context, filter singer.FilterPayload) ([]*singer.Detail, error)
List fetch singers from Spanner based on filter condition
type SingerRow ¶
type SingerRow struct { SingerID int64 FirstName googleSpanner.NullString LastName googleSpanner.NullString SingerInfo []byte BirthDate googleSpanner.NullDate }
SingerRow represent the row in Singer table
Click to show internal directories.
Click to hide internal directories.