slack

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DestinationDetails added in v1.0.0

func DestinationDetails(pr map[string]any) (workspace, repo, branch, commit string)

func LoadPRTurns added in v1.0.0

func LoadPRTurns(ctx workflow.Context) map[string][]string

func NormalizeChannelName

func NormalizeChannelName(name string, maxLen int) string

NormalizeChannelName transforms arbitrary text into a valid Slack channel name. Based on: https://docs.slack.dev/reference/methods/conversations.create#naming.

func NormalizeTime added in v1.0.0

func NormalizeTime(timeStr, amPm string) (string, error)

NormalizeTime takes a time string and an optional am/pm indicator, and returns the time in a standardized format or an error if invalid.

func PRDetails added in v1.0.0

func PRDetails(ctx workflow.Context, url, userID string) string

func RequiredReviewers added in v1.0.0

func RequiredReviewers(paths []string, owners map[string][]string) []string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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