services

package
v0.0.0-...-9e605f1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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

func UpdateUserInService(ctx context.Context, userId string, updateFields map[string]interface{}) (resp *user.UpdateUserResponse, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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