diff --git a/resource.go b/resource.go index cb10ade..36da174 100644 --- a/resource.go +++ b/resource.go @@ -4,3 +4,6 @@ import "git.fsdpf.net/go/req" // 资源 type GetResource func(code string) (req.Resource, bool) + +// 获取用户 +type GetUser func(uuid string, options ...req.UserRuntimeOption) (req.User, error)