goflow
goflow copied to clipboard
Why do we choose []byte as the type of workload func's param/output, not interface{}
IIUC, the workload function is like:
func doSomething(data []byte, option map[string][]string) ([]byte, error)
Why do we choose []byte as the type of its param/output, not interface{} or Golang any?