Files
strom/cmd/strom/cmd_util/account.go
T
2026-07-16 14:02:28 +02:00

12 lines
211 B
Go

package cmd_util
import "github.com/admin-else/strom/mc/api"
func Account(s string) (a *api.Account, err error) {
if len(s) > 16 {
return api.NewAccountFromYGG(s)
}
a = api.NewOfflineAccount(s)
return
}