images

package
v0.0.0-...-fcd840d Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Small      = "256"
	Medium     = "512"
	Large      = "1024"
	ExtraLarge = "2048"
	Original   = "original"
)

Variables

View Source
var Controller = &controller{db: &db.Instance}

Functions

This section is empty.

Types

type GalleryImage

type GalleryImage struct {
	File         *string            `json:"file"`
	Name         *string            `json:"name"`
	Url          *string            `json:"url"`
	Width        *int               `json:"width"`
	Height       *int               `json:"height"`
	OriginalSize *int64             `json:"originalSize"`
	Sizes        *map[string]string `json:"sizes"`
	CreatedAt    time.Time          `json:"createdAt"`
}

type ImageSizes

type ImageSizes struct {
	Small      *string `json:"256"`
	Medium     *string `json:"512"`
	Large      *string `json:"1024"`
	ExtraLarge *string `json:"2048"`
}

Jump to

Keyboard shortcuts

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