-
Notifications
You must be signed in to change notification settings - Fork 127
Are slices supported? #65
Copy link
Copy link
Open
Description
This is what I'm trying to do, works fine for simple types, but fails with slices:
package providers
import (
"github.com/cheekybits/genny/generic"
)
//go:generate genny -in=$GOFILE -out=gen_$GOFILE gen "T=[]string"
type T generic.Type
type TProvider interface {
Get() (T, error)
}thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels