intern

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2019 License: MIT Imports: 1 Imported by: 20

README

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