util

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

View Source
const (
	B = 1 << (iota * 10)
	KB
	MB
	GB
	TB
	PB
)

Variables

This section is empty.

Functions

func FormatFilename

func FormatFilename(filename string) template.HTML

func FormatSize

func FormatSize(size int64) template.HTML

func FormatTime

func FormatTime(t time.Time) template.HTML

Types

This section is empty.

Jump to

Keyboard shortcuts

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