Skip to content

Endika/CleanMyCar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

83c72dc · Nov 5, 2016

History

7 Commits
May 6, 2016
May 6, 2016
May 6, 2016
Nov 5, 2016

Repository files navigation

CleanMyCar

This aplication detect, when is the perfect day to clean your car. And send email with summary.

Install

For to build you need:

  • golang

sudo aptitude install golang

  • forecast

go get github.com/mlbright/forecast/v2

  • gomail

go get gopkg.in/gomail.v2

Configure

Open cleanMyCar.go file and edit this part to your information

const KEY string = "forecast API KEY"
const LAT string = "LATITUDE"
const LONG string = "LONGITUDE"
const SMTP string = "smtp.server"
const PORT int = 587
const USER string = "USER"
const PASS string = "PASSWORD"
const FROM string = "FROM EMAIL"
const TO string = "TO EMAIL"
const SUBJECT string = "Car Clean!! The Summary"

Finally build

go build cleanMyCar.go

and run:

./cleanMyCar.go

or without build execute

go run clenMyCar.go

About

When clean my car?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages