Registry / utility / willf-pad

willf-pad

JSON →
library0.0.0-20200313202418-172aa767f2a4gogounverified

Provides left-padding functionality for strings.

go get github.com/willf/pad
INSTALL
IMPORT
SIG · WILLF-PAD
W
willf-pad
utilitygov0.0.0-20200313202418-172aa767f2a4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pad
✓ github.com/willf/pad

Left-pad a string to a given length

package main import ( "fmt" "github.com/willf/pad" ) func main() { fmt.Println(pad.Left("hello", 10)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200313202418-172aa767f2a4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
willf-pad — go get willf-pad · libregistry