mongodb

package
v0.0.0-...-671c73a Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPublishInfo

func AddPublishInfo(ctx context.Context, uid, vid int64) error

func GetFavoriteInfo

func GetFavoriteInfo(ctx context.Context, uid, vid int64) (bool, error)

func GetFollowInfo

func GetFollowInfo(ctx context.Context, uid, toUid int64) (bool, error)

func GetPublishInfo

func GetPublishInfo(ctx context.Context, uid int64) ([]int64, error)

Types

type PublishMeta

type PublishMeta struct {
	PublishList []int64 `bson:"publish_list"`
}

Jump to

Keyboard shortcuts

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