Skip to content

Commit 4c34626

Browse files
author
Frank Martinez
committed
fix create activity doc
1 parent a649e5f commit 4c34626

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/create-activity.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Adding a new activity to Flogo is quite easy and we've outlined the steps for yo
1010
Before you can get started with this guide you need to make sure you have the right prerequisites installed:
1111

1212
* The Go programming language should be [installed](https://golang.org/doc/install). This includes setting your GOPATH env var, as well.
13-
* You should have Flogo installed: `go get github.com/TIBCOSoftware/flogo-cli`
13+
* You should have Flogo installed: `go get -u github.com/TIBCOSoftware/flogo-cli/...`
1414
* And you should have golint installed: `go get -u github.com/golang/lint/golint`
1515

1616
## Creating the basic framework
@@ -100,7 +100,7 @@ func (a *MyActivity) Metadata() *activity.Metadata {
100100

101101
// THIS HAS CHANGED
102102
// Eval implements activity.Activity.Eval
103-
func (a *MyActivity) Eval(context activity.Context) (done bool, evalError *activity.Error) {
103+
func (a *MyActivity) Eval(context activity.Context) (done bool, err error) {
104104
// Get the activity data from the context
105105
name := context.GetInput("name").(string)
106106
salutation := context.GetInput("salutation").(string)

0 commit comments

Comments
 (0)