14 lines
150 B
Go
14 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(),
|
||
|
}
|
||
|
}
|