code: func TagWrite(ctx formatter.Context, signedTagInfoList []SignedTagInfo) error {
  	render := func(format func(subContext formatter.SubContext) error) error {
  		for _, signedTag := range signedTagInfoList {
  			if err := format(&trustTagContext{s: signedTag}); err != nil {
  				return err
  			}
  		}
  		return nil
  	}
  	trustTagCtx := trustTagContext{}
  	trustTagCtx.Header = formatter.SubHeaderContext{
  		"SignedTag": signedTagNameHeader,
  		"Digest":    trustedDigestHeader,
  		"Signers":   signersHeader,
  	}
  	return ctx.Write(&trustTagCtx, render)
  }
docs: // TagWrite writes the context