extension

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT Imports: 0 Imported by: 5

Documentation

Overview

Package extension contains all image extensions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type string

Type is a representation of a Image extension.

const (
	// Jpg represents a jpg extension.
	Jpg Type = "jpg"
	// Jpeg represents a jpeg extension.
	Jpeg Type = "jpeg"
	// Png represents a png extension.
	Png Type = "png"
)

func (Type) IsValid

func (t Type) IsValid() bool

IsValid checks if the extension is valid.

Jump to

Keyboard shortcuts

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