poll

package
v0.0.0-...-15e3088 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FieldAccept = "Accept"
View Source
var FieldNeedEdited = "NeedEdited"
View Source
var FieldReject = "Reject"

Functions

func CalcReviewerAdoptionRate

func CalcReviewerAdoptionRate(ctx context.Context) error

func ClearInactiveReviewer

func ClearInactiveReviewer(ctx context.Context) error

func DailyReport

func DailyReport(ctx context.Context) error

func DoPollRuling

func DoPollRuling(ctx context.Context) error

DoPollRuling 处理投票

func MoveOverduePolls

func MoveOverduePolls(ctx context.Context) error

MoveOverduePolls 移动过期投票 将过期投票直接修改为亟待审核

func RemoveInvalidPolls

func RemoveInvalidPolls(ctx context.Context) error

RemoveInvalidPolls 清理无效投票 基本目的是清理后台干预了的投票

Types

type UserAdoptions

type UserAdoptions struct {
	Total     int `json:"total"`     // 总数
	Adoptions int `json:"adoptions"` // 采纳数
}

Jump to

Keyboard shortcuts

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