func (u *User) AvatarURL() string {
	return u.Data().Get(googleKeyAvatarUrl).Str()
}
AvatarURL gets the URL of an image representing the user.
package google
import (
	"github.com/stretchr/gomniauth/common"
	"github.com/stretchr/objx"
	"strconv"
)
const (
	googleKeyID        string = "id"
	googleKeyName      string = "name"
	googleKeyEmail     string = "email"
	googleKeyAvatarUrl string = "picture"
)
type User struct {
	data objx.Map
}
func NewUser(data objx.Map, creds *common.Credentials, provider common.Provider) *User {
	user := &User{data}
	creds.Set(common.CredentialsKeyID, data[googleKeyID])
	user.data[common.UserKeyProviderCredentials] = map[string]*common.Credentials{
		provider.Name(): creds,
	}
	return user
}
func (u *User) Email() string {
	return u.Data().Get(googleKeyEmail).Str()
}
func (u *User) Name() string {
	return u.Data().Get(googleKeyName).Str()
}
func (u *User) Nickname() string {
	return ""
}