vendor dependencies with dep
This commit is contained in:
parent
93d8310491
commit
1384296a47
2712 changed files with 965742 additions and 0 deletions
20
vendor/github.com/vanng822/go-premailer/premailer/options.go
generated
vendored
Normal file
20
vendor/github.com/vanng822/go-premailer/premailer/options.go
generated
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
package premailer
|
||||
|
||||
import ()
|
||||
|
||||
// Options for controlling behaviour
|
||||
type Options struct {
|
||||
// Remove class attribute from element
|
||||
// Default false
|
||||
RemoveClasses bool
|
||||
// Copy related CSS properties into HTML attributes (e.g. background-color to bgcolor)
|
||||
// Default true
|
||||
CssToAttributes bool
|
||||
}
|
||||
|
||||
// NewOptions return an Options instance with default value
|
||||
func NewOptions() *Options {
|
||||
options := &Options{}
|
||||
options.CssToAttributes = true
|
||||
return options
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue