Property Finder interview question

debug given code for Go, SOLID principles