Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Commit 39ec97e

Browse files
committed
Remove reference to non-existant return types.
1 parent 0712599 commit 39ec97e

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/ax/aggregate/saga.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ func (sg *Saga) MessageTypes() (tr ax.MessageTypeSet, mt ax.MessageTypeSet) {
8787
//
8888
// It is called when a "trigger" message is received and there is no
8989
// existing saga instance. env contains the "trigger" message.
90-
//
91-
// If err is nil, id must be a valid InstanceID, and d must be non-nil.
9290
func (sg *Saga) GenerateInstanceID(ctx context.Context, env ax.Envelope) (id saga.InstanceID, err error) {
9391
m := env.Message.(ax.Command)
9492
v, err := sg.Identifier.AggregateID(m)

src/ax/saga/saga.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ type Saga interface {
4242
//
4343
// It is called when a "trigger" message is received and there is no
4444
// existing saga instance. env contains the "trigger" message.
45-
//
46-
// If err is nil, id must be a valid InstanceID, and d must be non-nil.
4745
GenerateInstanceID(ctx context.Context, env ax.Envelope) (id InstanceID, err error)
4846

4947
// NewData returns a pointer to a new zero-value instance of the

0 commit comments

Comments
 (0)