Remove unnecessary blank lines in multiple files for improved code readability
This commit is contained in:
parent
91aa109f5b
commit
7ddea66106
4 changed files with 3 additions and 6 deletions
|
|
@ -22,4 +22,3 @@ func (f *Factory) CreateWriter(ctx *context.Context) (message.Writer, error) {
|
|||
func (f *Factory) CreateAdapter(ctx *context.Context) (message.Adapter, error) {
|
||||
return NewAdapter(), nil
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -30,9 +30,9 @@ type AdapterConfig struct {
|
|||
|
||||
// DefaultLinkTemplates provides default Markdown templates for non-text message types
|
||||
var DefaultLinkTemplates = map[string]string{
|
||||
"image": "", // Markdown image:  - displays inline
|
||||
"audio": "🔊 [Play Audio](%s)", // Link (audio can't display inline in Markdown)
|
||||
"video": "🎬 [Watch Video](%s)", // Link (video can't display inline in Markdown)
|
||||
"image": "", // Markdown image:  - displays inline
|
||||
"audio": "🔊 [Play Audio](%s)", // Link (audio can't display inline in Markdown)
|
||||
"video": "🎬 [Watch Video](%s)", // Link (video can't display inline in Markdown)
|
||||
"file": "📎 [Download File](%s)",
|
||||
"page": "📄 [Open Page](%s)",
|
||||
"table": "📊 [View Table](%s)",
|
||||
|
|
|
|||
|
|
@ -53,4 +53,3 @@ type StreamHandler interface {
|
|||
// Close closes the handler
|
||||
Close() error
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -155,4 +155,3 @@ const (
|
|||
DeltaMerge = "merge" // Merge (for objects)
|
||||
DeltaSet = "set" // Set (for new fields)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue