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

Commit

Permalink
Remove reference to non-existant return types.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalloc committed May 28, 2018
1 parent 9521368 commit ac25c70
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/ax/aggregate/saga.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ func (sg *Saga) MessageTypes() (tr ax.MessageTypeSet, mt ax.MessageTypeSet) {
//
// It is called when a "trigger" message is received and there is no
// existing saga instance. env contains the "trigger" message.
//
// If err is nil, id must be a valid InstanceID, and d must be non-nil.
func (sg *Saga) GenerateInstanceID(ctx context.Context, env ax.Envelope) (id saga.InstanceID, err error) {
m := env.Message.(ax.Command)
v, err := sg.Identifier.AggregateID(m)
Expand Down
2 changes: 0 additions & 2 deletions src/ax/saga/saga.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ type Saga interface {
//
// It is called when a "trigger" message is received and there is no
// existing saga instance. env contains the "trigger" message.
//
// If err is nil, id must be a valid InstanceID, and d must be non-nil.
GenerateInstanceID(ctx context.Context, env ax.Envelope) (id InstanceID, err error)

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

0 comments on commit ac25c70

Please sign in to comment.