func (t EndpointTemplate) Validate() error {
	_, err := t.virtualEndpoint()
	return err
}
Validate returns an error if the template is invalid.
package grit
import (
	"bytes"
	"fmt"
	"html/template"
	"os"
	"path"
	"strings"
	"github.com/go-git/go-git/v5/config"
	"github.com/go-git/go-git/v5/plumbing/transport"
	"github.com/go-git/go-git/v5/plumbing/transport/client"
)
const slugSeparator = "/"
type EndpointTemplate string
type Endpoint struct {
	Actual string
	Normalized *transport.Endpoint
}