model

package
v0.0.0-...-8c07c70 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Name       string //姓名
	Marriage   string //婚况
	Age        int    //年龄
	Gender     bool
	Height     string //身高
	Weight     string //体重
	Income     string //收入
	Education  string //教育
	Occupation string //职业
	Hukou      string //籍贯户口
	Xingzuo    string //星座
	House      string //房子
	Car        string //车
	Id         string
	PhotoUrl   []string
}

type ParseResult

type ParseResult struct {
	Requests []Request
	Items    []Item
}

type ParseType

type ParseType int
const (
	CityListParse ParseType = 0
	CityParse     ParseType = 1
	ProfileParse  ParseType = 2
)

type Request

type Request struct {
	Url         string
	ParseMethod ParseType
}

type SearchResult

type SearchResult struct {
	Hits  int64
	Start int
	Items []Item
}

Jump to

Keyboard shortcuts

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