docs: add godoc comments to all exported functions and methods
This commit is contained in:
@@ -4,6 +4,8 @@ import (
|
||||
"github.com/admin-else/strom/mc/crypto"
|
||||
)
|
||||
|
||||
// NewOfflineAccount creates an offline-mode Account with a UUID derived from the
|
||||
// player name. No HTTP calls are made; the UUID is computed locally.
|
||||
func NewOfflineAccount(name string) *Account {
|
||||
return &Account{
|
||||
Name: name,
|
||||
|
||||
Reference in New Issue
Block a user