models

package
v0.0.0-...-6a222b8 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 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 Image

type Image struct {
	Src string  `json:"src"`
	Alt *string `json:"alt"`
}
type Link struct {
	Src  string `json:"src"`
	Text string `json:"text"`
}

type Page

type Page struct {
	ID     string   `json:"id"`
	Src    string   `json:"src"`
	Links  []*Link  `json:"links"`
	Images []*Image `json:"images"`
	Videos []*Video `json:"videos"`
}

type Video

type Video struct {
	Src       string `json:"src"`
	Thumbnail *Image `json:"thumbnail"`
}

Jump to

Keyboard shortcuts

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