intern

package
v0.0.0-...-958ee23 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package intern interns strings. Interning is best effort only. Interned strings may be removed automatically at any time without notification. All functions may be called concurrently with themselves and each other.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(b []byte) string

Bytes returns b converted to a string, interned.

func String

func String(s string) string

String returns s, interned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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