iris.C 's origin type is mvc.C: https://github.com/kataras/iris/blob/master/mvc/controller.go#L39
iris.C type alias definition: https://github.com/kataras/iris/blob/master/go19.go#L148
The mvc.C looks like the following:
type C struct {
Name string
Ctx context.Context
}
func (c *C) BeginRequest(ctx context.Context) { c.Ctx = ctx }
But when embedding the type in other type, auto completion doesn't work:

Same for non-embedding, i.e return a struct that derives from a type alias:

Is this a bug, is it a feature request? I don't know but please try to look on this and fix that as soon as possible!
iris.C's origin type ismvc.C: https://github.com/kataras/iris/blob/master/mvc/controller.go#L39iris.Ctype alias definition: https://github.com/kataras/iris/blob/master/go19.go#L148The mvc.C looks like the following:
But when embedding the type in other type, auto completion doesn't work:
Same for non-embedding, i.e return a struct that derives from a type alias:
Is this a bug, is it a feature request? I don't know but please try to look on this and fix that as soon as possible!