image

package
v0.0.0-...-606d7b1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MIT Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	URL       string `json:"url"`
	SecureURL string `json:"secure_url"`
	Type      string `json:"type"`
	Width     uint64 `json:"width"`
	Height    uint64 `json:"height"`
}

Image defines Open Graph Image type

func AddHeight

func AddHeight(images []*Image, v uint64) []*Image

func AddSecureURL

func AddSecureURL(images []*Image, v string) []*Image

func AddType

func AddType(images []*Image, v string) []*Image

func AddURL

func AddURL(images []*Image, v string) []*Image

func AddWidth

func AddWidth(images []*Image, v uint64) []*Image

func NewImage

func NewImage() *Image

Jump to

Keyboard shortcuts

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