func GetTag(s storer.EncodedObjectStorer, h plumbing.Hash) (*Tag, error) {
	o, err := s.EncodedObject(plumbing.TagObject, h)
	if err != nil {
		return nil, err
	}
	return DecodeTag(s, o)
}
GetTag gets a tag from an object storer and decodes it.
package object
import (
	"bufio"
	"bytes"
	"fmt"
	"io"
	stdioutil "io/ioutil"
	"strings"
	"golang.org/x/crypto/openpgp"
	"gopkg.in/src-d/go-git.v4/plumbing"
	"gopkg.in/src-d/go-git.v4/plumbing/storer"
	"gopkg.in/src-d/go-git.v4/utils/ioutil"
)
type Tag struct {
	Hash plumbing.Hash
	Name string
	Tagger Signature
	Message string
	PGPSignature string
	TargetType plumbing.ObjectType
	Target plumbing.Hash
	s storer.EncodedObjectStorer
}