Codebase list certgraph / 0655ece6-491c-4f51-8b22-eccb49f20908/upstream graph / misc.go
0655ece6-491c-4f51-8b22-eccb49f20908/upstream

Tree @0655ece6-491c-4f51-8b22-eccb49f20908/upstream (Download .tar.gz)

misc.go @0655ece6-491c-4f51-8b22-eccb49f20908/upstreamraw · history · blame

package graph

import (
	"strings"
)

// given a domain returns the non-wildcard version of that domain
func nonWildcard(domain string) string {
	return strings.TrimPrefix(domain, "*.")
}