stack/stack.go
func (s *Signature) equal(r *Signature) bool {
	if s.State != r.State || !s.CreatedBy.equal(&r.CreatedBy) || s.Locked != r.Locked || s.SleepMin != r.SleepMin || s.SleepMax != r.SleepMax {
		return false
	}
	return s.Stack.equal(&r.Stack)
}
func (s *Signature) equal(r *Signature) bool {
	if s.State != r.State || !s.CreatedBy.equal(&r.CreatedBy) || s.Locked != r.Locked || s.SleepMin != r.SleepMin || s.SleepMax != r.SleepMax {
		return false
	}
	return s.Stack.equal(&r.Stack)
}
func ( s * Signature ) equal ( r * Signature ) bool { if s . State != r . State || ! s . CreatedBy . equal ( & r . CreatedBy ) || s . Locked != r . Locked || s . SleepMin != r . SleepMin || s . SleepMax != r . SleepMax { return false } return s . Stack . equal ( & r . Stack ) }
// equal returns true only if both signatures are exactly equal.
equal returns true only if both signatures are exactly equal .