userutils

package
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertUserToUserInfo

func ConvertUserToUserInfo(user *ent.User) *core.UserInfo

ConvertUserToUserInfo 将 User 实体转换为 UserInfo 这是一个共享的转换函数,用于避免在多个 logic 文件中重复相同的代码

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL