util

package
v1.13.3-go1.9to1.15 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 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 FormatFileUrl added in v1.10.10

func FormatFileUrl(filename string) string

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