13 lines
150 B
Go
13 lines
150 B
Go
package main
|
|
|
|
import "github.com/google/uuid"
|
|
|
|
type Player struct {
|
|
id uuid.UUID
|
|
}
|
|
|
|
func NewPlayer() Player {
|
|
return Player{
|
|
id: uuid.New(),
|
|
}
|
|
}
|