31 lines
485 B
Go
31 lines
485 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
"bufio"
|
|
)
|
|
|
|
func main(){
|
|
reader := bufio.NewReader(os.Stdin)
|
|
var errore error
|
|
ingresso, errore = reader.ReadString('\n')
|
|
|
|
var scelta uint8
|
|
type Squadra{
|
|
nome string
|
|
citta string
|
|
sponsor string
|
|
membri [...]Giocatore
|
|
}
|
|
type Giocatore{
|
|
nome string
|
|
cognome string
|
|
eta string
|
|
nomeRuolo string
|
|
numeroMaglia string
|
|
|
|
func Gioca
|
|
}
|
|
}
|