formatting

package
v0.0.1-101123-7abf427 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ParseMode = tgbotapi.ModeMarkdownV2

Variables

View Source
var ErrInvalidTimeFormat = errors.New("invalid time format")

Functions

func FormatCommandHelp added in v0.0.2

func FormatCommandHelp(cmd commands.Desc) string

func FormatCommandShortHelp added in v0.0.2

func FormatCommandShortHelp(cmd commands.Desc) string

func FormatHelp added in v0.0.2

func FormatHelp(text string, cmds []commands.Desc) string

func FormatMessages

func FormatMessages(header string, msgs []*standup.Message) string

func ParseTime

func ParseTime(s string, now time.Time) (time.Time, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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