type github.com/google/safehtml.Identifier
23 uses
github.com/google/safehtml (current package)
identifier.go#L35: type Identifier struct {
identifier.go#L55: func IdentifierFromConstant(value stringConstant) Identifier {
identifier.go#L60: return Identifier{string(value)}
identifier.go#L68: func IdentifierFromConstantPrefix(prefix stringConstant, value string) Identifier {
identifier.go#L77: return Identifier{prefixString + "-" + value}
identifier.go#L81: func (i Identifier) String() string {
init.go#L46: func identifierRaw(s string) Identifier {
init.go#L47: return Identifier{s}
github.com/google/safehtml/legacyconversions
legacyconversions.go#L30: var identifier = raw.Identifier.(func(string) safehtml.Identifier)
legacyconversions.go#L70: func RiskilyAssumeIdentifier(s string) safehtml.Identifier {
github.com/google/safehtml/template
sanitizers.go#L540: if safeTypeValue, ok := safehtmlutil.Indirect(args[0]).(safehtml.Identifier); ok {
github.com/google/safehtml/uncheckedconversions
uncheckedconversions.go#L35: var identifier = raw.Identifier.(func(string) safehtml.Identifier)
uncheckedconversions.go#L129: func IdentifierFromStringKnownToSatisfyTypeContract(s string) safehtml.Identifier {
golang.org/x/pkgsite/internal/frontend
license.go#L21: Anchor safehtml.Identifier
license.go#L34: Anchor safehtml.Identifier
license.go#L91: func licenseAnchors(paths []string) []safehtml.Identifier {
license.go#L100: ids := make([]safehtml.Identifier, len(paths))
golang.org/x/pkgsite/internal/godoc/dochtml
dochtml.go#L355: ID safehtml.Identifier // ID of example
dochtml.go#L423: func exampleID(id, suffix string) safehtml.Identifier {
dochtml.go#L445: SafeIdentifier safehtml.Identifier
golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
linkify.go#L77: ID safehtml.Identifier
linkify.go#L573: ID safehtml.Identifier
linkify.go#L579: func SafeGoID(s string) safehtml.Identifier {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |