This program outputs {Master Chief Spartan Protagonist Halo}. How would you get it to output Master Chief - a Spartan - is the Protagonist of Halo instead?
package main
import "fmt"
type Character struct{
Name string
Class string
Role string
Game string
}
func main() {
mc := Character{
Name: "Master Chief",
Class: "Spartan",
Role: "Protagonist",
Game: "Halo",
}
fmt.Println(mc)
}