tool

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfThisYear

func CheckIfThisYear(xnm, xqm string) bool

func CheckIsUndergraduate

func CheckIsUndergraduate(stuId string) bool

CheckIsUndergraduate 检查该学号是否是本科生

func CheckSY

func CheckSY(semester, year string) bool

func FormatWeeks

func FormatWeeks(weeks []int) string

func IsExist

func IsExist(path string) bool

IsExist 判断文件或者目录是否存在

func IsNeedCraw

func IsNeedCraw() bool

func OpenFile

func OpenFile(path string, name string) (*os.File, error)

func ParseWeeks

func ParseWeeks(weeks int64) []int

func RandomBool

func RandomBool(p float64) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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