Help us shape the future of Go! Take the 2026 Go Developer Survey

utils

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0, MIT Imports: 0 Imported by: 0

Documentation

Overview

Package utils provides bespoke, one off utils that don't make sense to be their own package

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "dev"
	Sha       = "HEAD"
	Buildtime = "dev"
)

Functions

func Truncate

func Truncate(s string, maxLen int) string

Truncate is a simple string truncate

Types

This section is empty.

Jump to

Keyboard shortcuts

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