package etcdb import ( "context" ) type SetSpec[T any] struct { Spec Spec } func (p SetSpec[T]) In(ctx context.Context) TypedDB[T] { return TypedDB[T]{p.Spec.In(ctx), JSONCodec} }