// You can edit this code! // Click here and start typing. package main import "fmt" type interfacer interface { interfaceWithMe(string) string } type goodInterfacer struct{} func (goodInterfacer) interfaceWithMe(s string) string { return s } type badInterfacer struct{} func (badInterfacer) dontInterfaceWithMe(s string) string { return s } func main() { fmt.Println(useMe(goodInterfacer{}, "Hello")) fmt.Println(useMe(badInterfacer{}, "World")) } func useMe(i interfacer, s string) string { return i.interfaceWithMe(s) }