func Endpoint(e string) Option {
	return func(o *Options) {
		o.Endpoint = e
	}
}
Endpoint sets the endpoint option
package s3
import "crypto/tls"
type Options struct {
	Bucket          string
	Endpoint        string
	Region          string
	AccessKeyID     string
	SecretAccessKey string
	Secure          bool
	TLSConfig       *tls.Config
}
type Option func(o *Options)