This commit is contained in:
cubixle
2021-06-18 21:06:02 +01:00
parent f435f65536
commit f330903f9e
13 changed files with 85 additions and 26 deletions
+15
View File
@@ -0,0 +1,15 @@
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 }}