// Equals returns true iff the two Schemas are equal. func (a *Schema) Equals(b *Schema) bool { … } // Equals returns true iff the two TypeRefs are equal. // // Note that two typerefs that have an equivalent type but where one is // inlined and the other is named, are not considered equal. func (a *TypeRef) Equals(b *TypeRef) bool { … } // Equals returns true iff the two TypeDefs are equal. func (a *TypeDef) Equals(b *TypeDef) bool { … } // Equals returns true iff the two Atoms are equal. func (a *Atom) Equals(b *Atom) bool { … } // Equals returns true iff the two Maps are equal. func (a *Map) Equals(b *Map) bool { … } // Equals returns true iff the two Unions are equal. func (a *Union) Equals(b *Union) bool { … } // Equals returns true iff the two UnionFields are equal. func (a *UnionField) Equals(b *UnionField) bool { … } // Equals returns true iff the two StructFields are equal. func (a *StructField) Equals(b *StructField) bool { … } // Equals returns true iff the two Lists are equal. func (a *List) Equals(b *List) bool { … }