(other *Movie)
| 20 | } |
| 21 | |
| 22 | func (l *Movie) equals(other *Movie) bool { |
| 23 | return l.Id == other.Id && |
| 24 | l.Title == other.Title && |
| 25 | l.Budget == other.Budget && |
| 26 | CompareStringPtr(l.Genre, other.Genre) |
| 27 | } |
| 28 | |
| 29 | func CompareStringPtr(s1, s2 *string) bool { |
| 30 | switch { |
nothing calls this directly
no test coverage detected