package svg type ( G struct { Element[GTag, GAttribute, GChildren] } GTag struct{} GAttribute interface { Attribute IsGAttribute() } GChildren = MarshalerReader ) func (GTag) PrintTag() string { return "g" } func (Transform) IsGAttribute() { } func (X) IsGAttribute() { } func (XP) IsGAttribute() { } func (Y) IsGAttribute() { } func (YP) IsGAttribute() { } func (Class) IsGAttribute() { }