I'm trying to implement a factory pattern with Go, here is the example https://play.golang.org/p/ASU0UiJ0ch
I have a interface Pet and a struct Dog so Dog should have the properties of Pet, on this case only one which is the specie, when trying to initialize the object Dog via the factory NewPet, can someone please advise.