work

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New()

Types

type Brief

type Brief struct {
	Title string
	// 根据剩余时间推断,可能有±1分钟的误差,对已完成作业无法获取截止时间
	// 精确数据请先打开作业
	Time time.Time
	// 未交(手机作业列表API->未完成)、已完成、待批阅
	Status  string
	ClazzId string
	// contains filtered or unexported fields
}

func (*Brief) Detail

func (b *Brief) Detail() *Work

type List

type List struct {
	Works []Brief
}

func NewList

func NewList(resp []byte, req *request.Request) (*List, error)

func NewListPhoneAPI added in v0.1.3

func NewListPhoneAPI(resp []byte, req *request.Request) (*List, error)

type Work

type Work struct {
}

Jump to

Keyboard shortcuts

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