sing/common/metadata/domain.go
2022-09-13 19:50:00 +08:00

6 lines
135 B
Go

package metadata
import _ "unsafe" // for linkname
//go:linkname IsDomainName net.isDomainName
func IsDomainName(domain string) bool