Created
August 1, 2020 13:32
-
-
Save luandevpro/af12c613165523cd095339bd9054ae25 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
package main | |
import ( | |
"fmt" | |
) | |
type Student struct { | |
Name string | |
Email string | |
Age int | |
} | |
func main() { | |
student := Student{ | |
Name: "tran", | |
Email: "tran@gmail.com", | |
Age: 25, | |
} | |
fmt.Println(student) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment