{"id":50108,"library":"mitchellh-go-wordwrap","title":"Go Word Wrap","description":"Provides word-wrapping functionality for strings in Go.","status":"active","version":"1.0.1","language":"go","source_language":null,"source_url":"https://github.com/mitchellh/go-wordwrap","tags":["string","text","formatting"],"install":[{"cmd":"go get github.com/mitchellh/go-wordwrap","lang":"bash","label":"Install github.com/mitchellh/go-wordwrap"}],"dependencies":[],"imports":[{"symbol":"wordwrap","correct":"github.com/mitchellh/go-wordwrap"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/mitchellh/go-wordwrap\"\n)\n\nfunc main() {\n\twrapped := wordwrap.WrapString(\"Hello world, this is a long string\", 10)\n\tfmt.Println(wrapped)\n}","lang":"go","description":"Wraps a string to a specified width."},"warnings":[],"env_vars":null,"search_vec":"'format':15 'function':8 'go':1,12 'provid':4 'string':10,13 'text':14 'word':2,6 'word-wrap':5 'wrap':3,7","created_at":"2026-06-15T04:40:30.465808+00:00","updated_at":"2026-06-15T04:40:30.465808+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/mitchellh/go-wordwrap","github":"https://github.com/mitchellh/go-wordwrap","docs":"https://pkg.go.dev/github.com/mitchellh/go-wordwrap#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}