link

package
v0.2.55 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Link struct {
	models.BaseModel

	SourceName string `json:"source"`
	SourceUrl  string `json:"source"`

	Category string

	GeoPoint []string

	Title        string `json:"title"` // 文章标题
	Url          string `json:"url"`   // 文章外链url
	Type         string
	Tags         []string
	LinkID       string `json:"link_id"`      // 文章编号
	Abstract     string `json:"abstract"`     // 文章摘要
	Content      string `json:"content"`      // 文章的内容
	PublishTime  int    `json:"publish_time"` // 文章的发布时间
	Publisher    string `json:"publisher"`    // 文章作者
	PublisherUrl string `json:"publisher"`    // 文章作者
	SourceGroup  string
	ContentHash  string `json:"content_hash"`   // 文章的hash值
	HeadImageUrl string `json:"head_image_url"` // 文章缩略图
}

type Statistic

type Statistic struct {
	models.BaseModel

	LinkID int
}

Jump to

Keyboard shortcuts

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