go-gomail / gomail

The best way to send emails in Go.
MIT License
4.33k stars 573 forks source link

Problem with Go 1.2 #2

Closed gilliek closed 9 years ago

gilliek commented 9 years ago

When I try to go get gomail, it fails due to one of the project dependency:

$ go get gopkg.in/gomail.v1 
# gopkg.in/alexcesaro/quotedprintable.v1
gopkg.in/alexcesaro/quotedprintable.v1/header.go:76: undefined: sync.Pool

I checked and it appears that sync.Pool does not exist exist in Go 1.2

My version of Go:

go version
go version go1.2.1 linux/amd64
alexcesaro commented 9 years ago

You're right, sorry Gomail requires Go 1.3 or newer. You need to update your version of Go.

gilliek commented 9 years ago

No problem, I'm running several version of Go, so it's not a problem for me :) I just notice the error since Go 1.2 is my default version.

Thanks for this package btw, it's really useful :)