diff --git a/api/doc.go b/api/doc.go index 3bea8daed..f548f70d3 100644 --- a/api/doc.go +++ b/api/doc.go @@ -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) })