package resolver import "git.aiterp.net/rpdata/api/model/story" // TagResolver for the Tag graphql type type TagResolver struct{ T story.Tag } // Kind resolves Tag.kind func (r *TagResolver) Kind() string { return r.T.Kind } // Name resolves Tag.name func (r *TagResolver) Name() string { return r.T.Name }