mirror of
https://github.com/cubixle/tuugen.git
synced 2026-04-24 19:54:45 +01:00
15 lines
304 B
Cheetah
15 lines
304 B
Cheetah
package interactors
|
|
|
|
import (
|
|
"fmt"{{ range .Imports }}
|
|
"{{ . }}"{{ end }}
|
|
)
|
|
|
|
type Interactor struct {
|
|
|
|
}
|
|
{{ range .Funcs }}
|
|
func (i *Interactor) {{ .Name }}({{.ArgsToStr}}) {{ if gt (len .Returns) 0 }}({{.ListToStr .Returns}}){{end}} {
|
|
return nil, fmt.Errorf("unimplemented")
|
|
}
|
|
{{ end }} |