Codebase list certgraph / ad4e36f9-5ec1-4a2e-9012-2a5469e91558/upstream graph / misc.go
ad4e36f9-5ec1-4a2e-9012-2a5469e91558/upstream

Tree @ad4e36f9-5ec1-4a2e-9012-2a5469e91558/upstream (Download .tar.gz)

misc.go @ad4e36f9-5ec1-4a2e-9012-2a5469e91558/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, "*.")
}