Last active
February 28, 2022 18:23
-
-
Save percybolmer/196ecc58e28aeaf0cfe9d54bf749057e to your computer and use it in GitHub Desktop.
candece-workflow examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This function is valid, accepts a Customer in JSON format as Input, Outputs a Customer and an error | |
func workflowGreetings(ctx workflow.Context, visitor customer.Customer) (customer.Customer, error) | |
// This could be valid, accept No input and Output a Customer and Error. | |
func workflowGreetings(ctx workflow.Context) (customer.Customer, error) | |
// Accept string as input, output only an Error | |
func workflowGreetings(ctx workflow.Context, input string) error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment