thumbType

package
v0.0.0-...-fedf337 Latest Latest
Warning

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

Go to latest
Published: May 31, 2017 License: MIT Imports: 0 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ThumbType

type ThumbType int
const (
	UNKNOWN ThumbType = iota
	JPG
	PNG
	GIF
	WEBP
)

func FromMime

func FromMime(mime string) ThumbType

func FromString

func FromString(format string) ThumbType

func (ThumbType) ToString

func (this ThumbType) ToString() string

Jump to

Keyboard shortcuts

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