cache

package
v4.0.0-...-b61965e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringInterner

type StringInterner struct {
	// contains filtered or unexported fields
}

StringInterner interns strings.

func NewStringInterner

func NewStringInterner() *StringInterner

NewStringInterner creates a new StringInterner.

func (*StringInterner) Intern

func (i *StringInterner) Intern(s string) string

Intern interns s.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL