summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2021-04-03 13:18:17 -0400
committerDave Henderson <dhenderson@gmail.com>2021-04-03 14:23:00 -0400
commitd334a3619a9897ff43b76b8f60fa1a0a41b9cbe9 (patch)
tree97f9fe27182604e41f08183fc42a2e4b4bded7ba /strings
parent507d41ae8a2536584eb032c98abc46496a77ea86 (diff)
Update linting and fix field alignment issues
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'strings')
-rw-r--r--strings/strings.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/strings/strings.go b/strings/strings.go
index a7b17a68..fd8e6000 100644
--- a/strings/strings.go
+++ b/strings/strings.go
@@ -92,11 +92,11 @@ func CamelCase(in string) string {
// WordWrapOpts defines the options to apply to the WordWrap function
type WordWrapOpts struct {
- // The desired maximum line length in characters (defaults to 80)
- Width uint
-
// Line-break sequence to insert (defaults to "\n")
LBSeq string
+
+ // The desired maximum line length in characters (defaults to 80)
+ Width uint
}
// applies default options