Files
jbxh-server/jobs/examples.go
T
2020-08-11 21:57:36 +08:00

17 lines
296 B
Go

package jobs
import (
"fmt"
"strconv"
)
func (t *EXEC)ExamplesWithParam(i int , s string) string{
fmt.Println("call method PrintInfo i", i, ",s :", s)
return s +strconv.Itoa(i)
}
func (t *EXEC) ExamplesNoParam() string {
fmt.Println("\nshow msg input 'call reflect'")
return "ShowMsg"
}