package gengo import ( "github.com/ipld/go-ipld-prime/schema" "github.com/ipld/go-ipld-prime/schema/gen/go/mixins" ) var _ TypeGenerator = &stringReprStringGenerator{} func NewStructReprMapGenerator(pkgName string, typ schema.TypeStruct, adjCfg *AdjunctCfg) TypeGenerator { return structReprMapGenerator{ structGenerator{ adjCfg, mixins.MapTraits{ pkgName, string(typ.Name()), adjCfg.TypeSymbol(typ), }, pkgName, typ, }, } } type structReprMapGenerator struct { structGenerator } func (g structReprMapGenerator) GetRepresentationNodeGen() NodeGenerator { return nil }