dao

package
v0.8.0-1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteDBOutdatedPost

func DeleteDBOutdatedPost() (deleteUidList []int, err error)

func GeneratePostUid

func GeneratePostUid() int

func GetPost

func GetPost(uid int, offset int) (postList []model.DatabasePost, err error)

func GetPostCnt

func GetPostCnt(uid int) (postCnt int, err error)

func InsertPost

func InsertPost(uid int, post model.UploadPost, bgmHash string, dataHash string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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