Skip to content

Commit

Permalink
Fix a link in package docs' example code.
Browse files Browse the repository at this point in the history
  • Loading branch information
ksputo authored and deadprogram committed Oct 15, 2019
1 parent 5faa751 commit 2a5571a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Example:
hello := gbot.AddRobot(gobot.NewRobot("Eve"))
// Accessible via http://localhost:3000/robots/Eve/commands/say_hello
// Accessible via http://localhost:3000/api/robots/Eve/commands/say_hello
hello.AddCommand("say_hello", func(params map[string]interface{}) interface{} {
return fmt.Sprintf("%v says hello!", hello.Name)
})
Expand Down

0 comments on commit 2a5571a

Please sign in to comment.