using methods with the same name golang