Versions in this module Expand all Collapse all v0 v0.0.3 Oct 15, 2022 Changes in this version + type Spanner struct + func InSpanner(client *spanner.Client) *Spanner[T] + func (s *Spanner[T]) Get(ctx context.Context, key spanner.Key) (T, error) + func (s *Spanner[T]) Insert(ctx context.Context, item T) error + func (s *Spanner[T]) List(ctx context.Context, prefix spanner.Key, limit, offset int64) ([]T, error) + type Storable interface + Key func() spanner.Key + List func(prefix spanner.Key, limit, offset int64) spanner.Statement + Table func() string + type Store interface + Get func(context.Context, spanner.Key) (T, error) + Insert func(context.Context, T) error + List func(context.Context, spanner.Key, int64, int64) ([]T, error)