Codebase list certgraph / 8781a4d3-0dca-40c3-a25f-0dd134c4d998/upstream graph / misc.go
8781a4d3-0dca-40c3-a25f-0dd134c4d998/upstream

Tree @8781a4d3-0dca-40c3-a25f-0dd134c4d998/upstream (Download .tar.gz)

misc.go @8781a4d3-0dca-40c3-a25f-0dd134c4d998/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, "*.")
}