vendor dependencies with dep

This commit is contained in:
dhax 2017-09-25 20:20:52 +02:00
parent 93d8310491
commit 1384296a47
2712 changed files with 965742 additions and 0 deletions

View 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
}