Documentation ¶
Index ¶
- func CheckUserExists(username string) (*user.UserExistResponse, error)
- func GetUserInfo(username string, fields []string) (resp *user.UserResponse, err error)
- func IsUserFollowing(username string, target_username string) (*user.IsUserFollowingResponse, error)
- func UpdateUserInService(ctx context.Context, userId string, updateFields map[string]interface{}) (resp *user.UpdateUserResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUserExists ¶
func CheckUserExists(username string) (*user.UserExistResponse, error)
根据 username 查询用户是否存在
func GetUserInfo ¶
func GetUserInfo(username string, fields []string) (resp *user.UserResponse, err error)
func IsUserFollowing ¶
func IsUserFollowing(username string, target_username string) (*user.IsUserFollowingResponse, error)
查询一个用户是否关注另外一个用户
func UpdateUserInService ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.