mapper

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	WithoutAttachmentContent bool
}

Config is the mapper config.

func Configure

func Configure(opts ...Option) (cfg Config)

Configure makes a Config from opts.

type Option

type Option func(*Config)

Option configures a Map() call.

func WithoutAttachmentContent

func WithoutAttachmentContent() Option

WithoutAttachmentContent returns a MapOption that clears the content of one or multiple Attachments.

Jump to

Keyboard shortcuts

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