entities

package
v0.0.0-...-3b7c52a Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dict

type Dict struct {
	PartOfSpeech string `json:"partOfSpeech"`
	Definition   string `json:"definition"`
	Example      string `json:"example"`
}

type Image

type Image struct {
	Url       string `json:"url"`
	Media     string `json:"media"`
	Thumbnail string `json:"thumbnail"`
	Title     string `json:"title"`
}

type News

type News struct {
	Url         string `json:"url"`
	Title       string `json:"title"`
	Description string `json:"description"`
	Source      string `json:"source"`
	Thumbnail   string `json:"thumbnail"`
	UploadDate  string `json:"uploadDate"`
}

type Redirect

type Redirect struct {
	Source string `json:"source"`
	Target string `json:"target"`
}

type Result

type Result struct {
	Url         string `json:"url"`
	Short       string `json:"short"`
	Title       string `json:"title"`
	Description string `json:"description"`
}

type Stack

type Stack struct {
	Url          string   `json:"link"`
	Title        string   `json:"title"`
	IsAnswered   bool     `json:"is_answered"`
	AnswerCount  uint     `json:"answer_count"`
	Score        int      `json:"score"`
	CreationDate uint64   `json:"creation_date"`
	ViewCount    uint64   `json:"view_count"`
	Tags         []string `json:"tags"`
	ClosedReason string   `json:"closed_reason"`
	// manually added
	ScoreStr        string `json:"score_str"`
	CreationDateStr string `json:"creation_date_str"`
	ViewCountStr    string `json:"view_count_str"`
}

type Type

type Type struct {
	Query string `json:"query"`
	Name  string `json:"name"`
}

type Video

type Video struct {
	Url       string `json:"url"`
	Title     string `json:"title"`
	Thumbnail string `json:"thumbnail"`
	Uploader  string `json:"uploaderName"`
	Duration  uint64 `json:"duration"`
	Uploaded  uint64 `json:"uploaded"`
	Views     uint64 `json:"views"`
	// manually added
	UploadDate     string `json:"uploadDate"`
	ViewsString    string `json:"viewsString"`
	DurationString string `json:"durationString"`
}

type Wiki

type Wiki struct {
	Url         string `json:"url"`
	Thumbnail   string `json:"thumbnail"`
	Description string `json:"description"`
}

Jump to

Keyboard shortcuts

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