go-gomail / gomail

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

What is the correct way to make gomail work with go15vendorexperiment #46

Closed sathishvj closed 8 years ago

sathishvj commented 8 years ago

Since go get does not currently support go15vendorexperiment, what is the right way to get this library? And also to import it into the project?

Inside project/src/vendor do a git clone --depth=1 https://github.com/go-gomail/gomail github.com/go-gomail/gomail

then in code

import "github.com/go-gomail/gomail"

It seems to work for me, but just wanted to make sure.

alexcesaro commented 8 years ago

Yes it should be alright since when using Go 1.5, Gomail does not import any external dependency.