announcement

package
v0.8.28 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Announcement = announcement{
	State:    State,
	FlagRead: FlagRead,
}
View Source
var FlagRead = flagRead{
	UnRead: enum.New[FlagReadEnum](0, "未读"),
	Readed: enum.New[FlagReadEnum](1, "已读"),
}
View Source
var State = state{
	Draft:       enum.New[StateEnum](1, "草稿"),
	WaitRelease: enum.New[StateEnum](2, "待发布"),
	Published:   enum.New[StateEnum](4, "已发布"),
	Expired:     enum.New[StateEnum](8, "已过期"),
	Revoked:     enum.New[StateEnum](16, "已撤销"),
}

Functions

This section is empty.

Types

type FlagReadEnum

type FlagReadEnum enum.IEnumCode[int]

FlagReadEnum 状态:0未读,1已读

type StateEnum

type StateEnum enum.IEnumCode[int]

StateEnum 状态: 1草稿、2待发布、4已发布、8已过期、16已撤销、

Jump to

Keyboard shortcuts

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