truncate

package
v2.5.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package truncate privides strings truncation utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Query

func Query(q string) (query string, truncated bool)

Query limits passed query string to 2048 Unicode runes, truncating it if necessary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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