MCPcopy Create free account
hub / github.com/dhamidi/ess / Target

Method Target

command.go:122–125  ·  view source on GitHub ↗

Target sets the function to create a new receiver of the right type for this command to constructor. The constructor's task is to return an aggregate instance with the appropriate ID extracted from the command passed to the constructor. Example: func UserFromCommand(command *Command) Aggregate {

(constructor func(*Command) Aggregate)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

main.goFile · 0.80
main.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected