testutil

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MediaFileNames

func MediaFileNames(t *testing.T, mimetype string) []string

MediaFileNames returns test file paths having mimetype.

func MediaRoot

func MediaRoot(t *testing.T) string

Types

type FileInfo

type FileInfo map[string]interface{}

func MediaFileInfos

func MediaFileInfos(t *testing.T) []FileInfo

MediaFileInfos returns test file paths having mimetype.

func (FileInfo) Float64

func (e FileInfo) Float64(n string) (v float64, ok bool)

func (FileInfo) Int

func (e FileInfo) Int(n string) (v int, ok bool)

func (FileInfo) String

func (e FileInfo) String(n string) (v string, ok bool)

Jump to

Keyboard shortcuts

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