Codebase list certgraph / a1e99584-0cf0-4b1d-b676-4935fa9e9bc9/main graph / misc.go
a1e99584-0cf0-4b1d-b676-4935fa9e9bc9/main

Tree @a1e99584-0cf0-4b1d-b676-4935fa9e9bc9/main (Download .tar.gz)

misc.go @a1e99584-0cf0-4b1d-b676-4935fa9e9bc9/mainraw · 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, "*.")
}