add vendoring

This commit is contained in:
Aine
2022-11-16 12:08:51 +02:00
parent 14751cbf3a
commit c1d33fe3cb
1104 changed files with 759066 additions and 0 deletions

22
vendor/github.com/jhillyerd/enmime/parser.go generated vendored Normal file
View File

@@ -0,0 +1,22 @@
package enmime
// Parser parses MIME.
// Default parser is a valid one.
type Parser struct {
skipMalformedParts bool
multipartWOBoundaryAsSinglePart bool
}
// defaultParser is a Parser with default configuration.
var defaultParser = Parser{}
// NewParser creates new parser with given options.
func NewParser(ops ...Option) *Parser {
p := Parser{}
for _, o := range ops {
o.apply(&p)
}
return &p
}