display

package
v0.0.0-...-b012a22 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const EditFormat = "2006-01-02 15:04:05"

EditFormat is the format a time should appear in the edit document

Variables

This section is empty.

Functions

func BodyErrs

func BodyErrs(body io.ReadCloser, event string) error

BodyErrs returns an error returned in the body of an API request

func EditTimeStr

func EditTimeStr(t *time.Time, loc *time.Location) string

EditTimeStr returns a time formatted for editing in a specific location

func TimeStr

func TimeStr(t *time.Time, loc *time.Location) string

TimeStr returns a time formatted for human readability in a specific location

Types

This section is empty.

Jump to

Keyboard shortcuts

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