Created
August 1, 2020 13:26
-
-
Save luandevpro/4004b1b0c74d468cb07ac3cc76cefc8f 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 { | |
string | |
int | |
} | |
func main() { | |
student := Student{ | |
"tran", 25, | |
} | |
fmt.Println(student.string) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment