commit | 865598137b006ac18b6e8b9423777254acd2917e | [log] [tgz] |
---|---|---|
author | Dusan Kasan <me@dusankasan.com> | Mon Apr 10 22:45:35 2017 +0200 |
committer | Dusan Kasan <me@dusankasan.com> | Mon Apr 10 22:45:35 2017 +0200 |
tree | e1d07b32109b10d0c6acc44f87dc517b75d2a60b | |
parent | 17e497ea989bd4ca715510722d7d12cec763fa49 [diff] |
Readme typos fixed
Simple usage:
var reader io.Reader // this reads an email message email, err := parsemail.Parse(reader) // returns Email struct and error if err != nil { // handle error } fmt.Println(email.Subject()) // parsed from header on demand fmt.Println(email.Cc()) // parsed from header on demand fmt.Println(email.HTMLBody) // this is not a method, parsed beforehand
It is missing some tests, and needs more work. Use at your own discretion.