Documentation
¶
Index ¶
- func BazIDA(v *Baz) *string
- func FooJSONMapping() dtokit.Mapping[Foo, FooDTO]
- func MakeContextFunc(tb testing.TB) func() context.Context
- func MakeFooFunc(tb testing.TB) func() Foo
- type Bar
- type BarID
- type BarJSONDTO
- type Baz
- type Foo
- type FooDTO
- type FooID
- type FooQueue
- type FooQueueID
- type FooRepository
- func (r *FooRepository) Create(ctx context.Context, ptr *Foo) error
- func (r *FooRepository) DeleteByID(ctx context.Context, id FooID) error
- func (r *FooRepository) FindAll(ctx context.Context) iter.Seq[Foo]
- func (r *FooRepository) FindByID(ctx context.Context, id FooID) (ent Foo, found bool, err error)
- func (r *FooRepository) Update(ctx context.Context, ptr *Foo) error
- type Fooer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeFooFunc ¶
Types ¶
type BarJSONDTO ¶
type FooQueue ¶
type FooQueue struct { ID FooQueueID `ext:"id"` pubsub.Publisher[Foo] pubsub.Subscriber[Foo] }
func (FooQueue) SetSubscriber ¶
func (fq FooQueue) SetSubscriber(s pubsub.Subscriber[Foo])
type FooQueueID ¶
type FooQueueID string
type FooRepository ¶
type FooRepository struct{}
func (*FooRepository) DeleteByID ¶
func (r *FooRepository) DeleteByID(ctx context.Context, id FooID) error
Click to show internal directories.
Click to hide internal directories.