Changed name Sam to Tom line 144

The same name repeated
This commit is contained in:
Feruz Oripov
2018-10-22 23:25:19 +05:00
committed by GitHub
parent 4744df36cf
commit 04e7425aac

View File

@@ -141,7 +141,7 @@ func main() {
mike := Student{Human{"Mike", 25, "222-222-XXX"}, "MIT", 0.00}
paul := Student{Human{"Paul", 26, "111-222-XXX"}, "Harvard", 100}
sam := Employee{Human{"Sam", 36, "444-222-XXX"}, "Golang Inc.", 1000}
tom := Employee{Human{"Sam", 36, "444-222-XXX"}, "Things Ltd.", 5000}
tom := Employee{Human{"Tom", 36, "444-222-XXX"}, "Things Ltd.", 5000}
// define interface i
var i Men