(name, greeting string)
| 33 | } |
| 34 | |
| 35 | func (e *Example) SayHello(name, greeting string) string { |
| 36 | e.log.Info("SayHello() called", "name", name, "greeting", greeting) |
| 37 | e.count.Add(1) |
| 38 | return fmt.Sprintf("%s %s\n", greeting, name) |
| 39 | } |
| 40 | |
| 41 | func ExampleCommands(e *Example) hive.ScriptCmdsOut { |
| 42 | return hive.NewScriptCmds(map[string]script.Cmd{ |
no test coverage detected