trimmfmt

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print(s string, min int, max int, suffix string)

Print is like fmt.Print but with the options for a minimum and maximum length of a string. In addition you can define a suffix for strings which have been trimmed.

func Sprint

func Sprint(s string, min int, max int, suffix string) string

Sprint is like fmt.Sprint but with the options for a minimum and maximum length of a string. In addition you can define a suffix for strings which have been trimmed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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