func (c *Client) ListGPGKeys(user string) ([]*GPGKey, error) {
	keys := make([]*GPGKey, 0, 10)
	return keys, c.getParsedResponse("GET", fmt.Sprintf("/users/%s/gpg_keys", user), nil, nil, &keys)
}
ListGPGKeys list all the GPG keys of the user
package gitea
import (
	"bytes"
	"encoding/json"
	"fmt"
	"time"
)
type GPGKey struct {
	ID                int64          `json:"id"`
	PrimaryKeyID      string         `json:"primary_key_id"`
	KeyID             string         `json:"key_id"`
	PublicKey         string         `json:"public_key"`
	Emails            []*GPGKeyEmail `json:"emails"`
	SubsKey           []*GPGKey      `json:"subkeys"`
	CanSign           bool           `json:"can_sign"`
	CanEncryptComms   bool           `json:"can_encrypt_comms"`
	CanEncryptStorage bool           `json:"can_encrypt_storage"`
	CanCertify        bool           `json:"can_certify"`
	Created time.Time `json:"created_at,omitempty"`
	Expires time.Time `json:"expires_at,omitempty"`
}
type GPGKeyEmail struct {
	Email    string `json:"email"`
	Verified bool   `json:"verified"`
}
type CreateGPGKeyOption struct {
	ArmoredKey string `json:"armored_public_key" binding:"Required"`
}