Help us shape the future of Go! Take the 2026 Go Developer Survey

userutils

package
v1.3.10 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2026 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