proxy.golang.org : github.com/reiver/go-indent
Package indent provides tools for creating, and detecting indentation of UTF-8 text, for the Go programming language. For example, if you take some text, package indent can make it so it puts tabs, or spaces for indentation in front of each non-empty line. So, for example, this: Can becomes this: Or: You can specify how much indentation you want, and what you want the indentation to be (ex: tabs, spaces, or any other symbol, or string). Here is how one might use indent.Writer:
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/reiver/go-indent
Keywords:
indentation
License: MIT
Latest release: almost 6 years ago
First release: almost 6 years ago
Namespace: github.com/reiver
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 1 day ago