list

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, clients *core.Clients, slackMsg *slack.Message, input string) (any, error)

func FindMatchedInitFunc

func FindMatchedInitFunc(command string) (initFunc, error)

FindMatchedInitFunc finds the matched init function for the given command

func ParseDuration

func ParseDuration(durationStr string) (time.Duration, error)

ParseDuration parses a duration string in the format of "10m", "1h", "1d"

func ParseTime

func ParseTime(ctx context.Context, timeStr string) (time.Time, error)

ParseTime parses a time string in either HH:MM or YYYY-MM-DD format

Types

This section is empty.

Jump to

Keyboard shortcuts

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