Primo abbozzo
This commit is contained in:
27
main.go
27
main.go
@@ -1,7 +1,30 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import "fmt"
|
import (
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
"bufio"
|
||||||
|
)
|
||||||
|
|
||||||
func main(){
|
func main(){
|
||||||
fmt.Println("Verde-chan is cute~")
|
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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user