user

package
v0.0.0-...-20f649f Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Options)

func DeptID

func DeptID(id int) Option

func GodMode

func GodMode(gm bool) Option

func Points

func Points(points int) Option

func PointsAwardedCount

func PointsAwardedCount(c int) Option

func PointsAwardedResetTime

func PointsAwardedResetTime(t time.Time) Option

type Options

type Options struct {
	DeptID                 int
	Points                 int
	PointsAwardedCount     int
	PointsAwardedResetTime time.Time
	GodMode                bool
}

Jump to

Keyboard shortcuts

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