moyu

package
v1.3.2-beta1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: GPL-3.0 Imports: 10 Imported by: 1

Documentation

Overview

Package moyu 摸鱼

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Holiday

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

Holiday 节日

func GetHoliday

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

func (h *Holiday) String() string

String 获取两个时间相差

Jump to

Keyboard shortcuts

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