Help us shape the future of Go! Take the 2026 Go Developer Survey

news

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(ctx context.Context, targetID, quoteID, authorID string, args ...string) (err error)

Handler asd

@param targetID
@param quoteID
@param authorID
@param args
@return err

func MorningHandler

func MorningHandler(ctx context.Context, targetID, quoteID, authorID string, args ...string) (err error)

MorningHandler 每日早报

@param ctx
@param targetID
@param quoteID
@param authorID
@param args
@return err

Types

type NewsData

type NewsData struct {
	// Rank    int         `json:"rank"`
	Name    string      `json:"title"`
	ViewNum interface{} `json:"other"`
	Link    string      `json:"link"`
}

NewsData a

type NewsDataRaw

type NewsDataRaw struct {
	Data struct {
		List []NewsData `json:"list"`
	} `json:"data"`
}

NewsDataRaw 原始

Jump to

Keyboard shortcuts

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