Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Converter ¶
type Converter struct {
// contains filtered or unexported fields
}
Converter converts Slack mrkdwn to standard markdown
func NewConverter ¶
func NewConverter(service SlackService) *Converter
NewConverter creates a new Converter instance
type SlackService ¶
type SlackService interface {
GetUserProfile(ctx context.Context, userID string) (string, error)
GetChannelName(ctx context.Context, channelID string) (string, error)
GetUserGroupName(ctx context.Context, groupID string) (string, error)
}
SlackService defines the interface for querying Slack data This interface matches the methods available in pkg/service/slack.Service
Click to show internal directories.
Click to hide internal directories.