recommend

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arc

type Arc struct {
	Aid         interface{} `json:"aid"`
	Author      string      `json:"author"`
	Title       string      `json:"title"`
	Description string      `json:"description"`
	Pic         string      `json:"pic"`
	Views       interface{} `json:"play"`
	Comments    int64       `json:"review"`
	Coins       int64       `json:"coins"`
	Danmaku     int         `json:"video_review"`
	Favorites   int64       `json:"favorites"`
	Pts         int64       `json:"pts"`
	Others      []*Arc      `json:"others"`
}

Arc is index show recommend.

type CardCondition

type CardCondition struct {
	Plat      int8   `json:"plat"`
	Condition string `json:"conditions"`
	Build     int    `json:"build"`
}

type CardList

type CardList struct {
	ID         int64            `json:"id"`
	Goto       string           `json:"goto"`
	FromType   string           `json:"from_type"`
	Desc       string           `json:"desc"`
	CornerMark int8             `json:"corner_mark"`
	Condition  []*CardCondition `json:"condition"`
}

func (*CardList) CardListChange

func (c *CardList) CardListChange() (p *card.PopularCard)

type List

type List struct {
	Aid        int64  `json:"aid"`
	Desc       string `json:"desc"`
	CornerMark int8   `json:"corner_mark"`
}

Jump to

Keyboard shortcuts

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