internal

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Json

func Json(scanResult *ScanResult) (string, error)

func Toml

func Toml(scanResult *ScanResult) (string, error)

func Yaml

func Yaml(scanResult *ScanResult) (string, error)

Types

type Formatter

type Formatter func(scanResult *ScanResult) (string, error)

type ImageInfo

type ImageInfo struct {
	Name   string `json:"name" toml:"name"`
	Width  int    `json:"width" toml:"width"`
	Height int    `json:"height" toml:"height"`
}

type ScanResult

type ScanResult struct {
	Images []*ImageInfo `json:"images" toml:"images"`
}

func Scan

func Scan(dir string) (*ScanResult, error)

Jump to

Keyboard shortcuts

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