Created
December 6, 2020 18:07
-
-
Save madflojo/4964075199ca96a5c4252b269d65da8e to your computer and use it in GitHub Desktop.
maps.vs.structs.datastructs
This file contains hidden or 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
// Print the name | |
fmt.Printf("Name is %s\n", data.Name) | |
// Print the Numbers | |
fmt.Printf("Numbers include") | |
for _, v := range data.Numbers { | |
fmt.Printf(" %d", v) | |
} | |
fmt.Printf("\n") | |
// Print the Description | |
fmt.Printf("Description is %s", data.Nested.Description) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment