func BasicAuth(username, password string) string {
	auth := username + ":" + password
	return base64.StdEncoding.EncodeToString([]byte(auth))
}
encoded username + password for base64 for http basic access authentRequestication
package auth
import (
	"encoding/base64"
	"github.com/luk4z7/pagarme-go/config"
	liberr "github.com/luk4z7/pagarme-go/error"
	"net/http"
)
var key config.ApiKey
type Headers map[string]string