format

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bitrate

func Bitrate(bytes float64, decimals int) string

func Bytes

func Bytes(bytes float64, decimals int) string

func Count

func Count(count int, thing string, abbreviate bool) string

func Pixels

func Pixels(width, height int, decimals int) string

func Resolution

func Resolution(width, height int, decimals int, useAltResolutionNaming bool) string

func Seconds

func Seconds(seconds float64) string

Types

type ResolutionResult

type ResolutionResult struct {
	Name    string
	AltName string
	Width   int
	Height  int
}

func ResolutionRaw

func ResolutionRaw(width, height float64) ResolutionResult

Jump to

Keyboard shortcuts

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