moyu

package
v1.2.4-beta7 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package moyu 摸鱼

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Holiday added in v1.2.3

type Holiday struct {
	// contains filtered or unexported fields
}

Holiday 节日

func GetHoliday added in v1.2.3

func GetHoliday(name string) *Holiday

GetHoliday 从 reg 服务器获取节日

func NewHoliday

func NewHoliday(name string, dur, year int, month time.Month, day int) *Holiday

NewHoliday 节日名 天数 年 月 日

func (*Holiday) String added in v1.2.3

func (h *Holiday) String() string

String 获取两个时间相差

Jump to

Keyboard shortcuts

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