1package domain 2 3type Studio struct { 4 Name string 5} 6 7func (self *Studio) Equals(studio Studio) bool { 8 return self.Name == studio.Name 9}