func New(mercuryToken, postmarkToken, fromEmailAddress string, kindlegenBinary string, logger *log.Logger) *App { return &App{ kindlegen: kindlegenBinary, postmark: postmark.New(postmarkToken), mercury: mercury.New(mercuryToken, nil), from: fromEmailAddress, } }
func New(readabilityToken, postmarkToken, fromEmailAddress string, kindlegenBinary string, logger *log.Logger) *App { return &App{ kindlegen: kindlegenBinary, postmark: postmark.New(postmarkToken), readability: readability.New(readabilityToken, nil), from: fromEmailAddress, } }