genimgs

package
v3.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 13 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GroupByType

func GroupByType(imgs []GenImg) map[string][]GenImg

func Open

func Open(conf *config.Config, imgPath string) (image.Image, error)

Types

type GenImg

type GenImg struct {
	URL  string
	Type string
	Size int64
}

func LookupSizes

func LookupSizes(s3Client *s3.Client, conf *config.Config, imgPath string) ([]GenImg, error)

Jump to

Keyboard shortcuts

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