Created
November 18, 2019 11:11
-
-
Save Mayankgupta688/f2710096cd47b2b02f740e0ca107c4fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
newManager := Manager{Name: "Mayank", Age: 30, Designation: "Developer" Salary: 10} | |
var employeeInterface Employee | |
employeeInterface = newManager | |
employeeInterface.GetDetails() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment