models

package
v0.0.0-...-a590297 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Visitor

type Visitor struct {
	Name string `json:"name"`
}

type Visitors

type Visitors []Visitor

type WonderWord

type WonderWord struct {
	Index       int    `json:"index"`
	Term        string `json:"term"`
	Reading     string `json:"reading"`
	Explanation string `json:"explanation"`
	Example     string `json:"example"`
	Mean        string `json:"mean"`
}

func MakeWonderWork

func MakeWonderWork(tr *html.Node, idx int) *WonderWord

type Word

type Word struct {
	Index    int    `json:"index"`
	Text     string `json:"text"`
	Alphabet string `json:"alphabet"`
	MeanEng  string `json:"mean_eng"`
	MeanVN   string `json:"mean_vn"`
	Detail   string `json:"detail"`
	Link     string `json:"_"`
}

func MakeWord

func MakeWord(c *html.Node, link, detail string, index int) *Word

Jump to

Keyboard shortcuts

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