format

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bites

func Bites(size float64) string

Types

type FriendTime

type FriendTime struct {
	// contains filtered or unexported fields
}

func NewFriendTime

func NewFriendTime(unixTime int64) *FriendTime

func (*FriendTime) Format

func (f *FriendTime) Format() string

func (*FriendTime) SetFormat

func (f *FriendTime) SetFormat(format string)

func (*FriendTime) SetStartTime

func (f *FriendTime) SetStartTime(startTime int64)

func (*FriendTime) SetSuffix

func (f *FriendTime) SetSuffix(suffix string)

Jump to

Keyboard shortcuts

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