Versions in this module Expand all Collapse all v0 v0.1.1 Nov 6, 2022 Changes in this version + var DefaultConfig = make(Config) + func Add(forms ...*Form) + type Attachment struct + Data []byte + Filename string + MimeType string + type Config map[string]*Form + func (c Config) Add(forms ...*Form) + func (c Config) Parse(contentType string, body string) (*Submission, error) + type Email struct + Bcc []string + Cc []string + From string + ID string + ReplyTo string + Subject string + Template string + To string + func (e *Email) Email(submission *Submission) (*mail.Email, error) + func (e *Email) Send(email *mail.Email) error + type Form struct + Emails []Email + ID string + Name string + ReCAPTCHA bool + Redirect string + func New(id string) *Form + func (f *Form) AddEmail(emails ...Email) + func (f *Form) Ignore(fields ...string) + type Submission struct + Attachments []Attachment + Form *Form + Order []string + Values map[string]interface{} + func Parse(contentType, body string) (*Submission, error) + func (s *Submission) Send() error