Registry / utility / vinta-pangu

vinta-pangu

JSON →
library3.0.0+incompatiblegogounverified

Paranoid text spacing for good readability, automatically inserting whitespace between CJK and half-width characters.

go get github.com/vinta/pangu
INSTALL
IMPORT
SIG · VINTA-PANGU
V
vinta-pangu
utilitygov3.0.0+incompatible
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.

pangu
✓ github.com/vinta/pangu

Spaces CJK and half-width characters.

package main import ( "fmt" "github.com/vinta/pangu" ) func main() { result := pangu.SpacingText("中文English中文") fmt.Println(result) // Output: 中文 English 中文 }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.0+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
vinta-pangu — go get vinta-pangu · libregistry