Skip to content

crstrings: add UnwrapText#28

Merged
RaduBerinde merged 1 commit intocockroachdb:mainfrom
RaduBerinde:unwrap-text
Nov 22, 2025
Merged

crstrings: add UnwrapText#28
RaduBerinde merged 1 commit intocockroachdb:mainfrom
RaduBerinde:unwrap-text

Conversation

@RaduBerinde
Copy link
Member

@RaduBerinde RaduBerinde commented Nov 21, 2025

Add a helper that makes it easy to define long strings.


This change is Reviewable

@RaduBerinde RaduBerinde requested a review from jbowens November 21, 2025 14:46
Copy link
Contributor

@jbowens jbowens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@jbowens reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @RaduBerinde)


crstrings/utils.go line 148 at r1 (raw file):

	var separator string
	for _, l := range strings.Split(input, "\n") {

nit: can use SplitSeq

(will need to rebase over main to pick up #27 for the Go version)

Add a helper that makes it easy to define long strings.
Copy link
Member Author

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 1 of 2 files reviewed, all discussions resolved (waiting on @jbowens)


crstrings/utils.go line 148 at r1 (raw file):

Previously, jbowens (Jackson Owens) wrote…

nit: can use SplitSeq

(will need to rebase over main to pick up #27 for the Go version)

Done, TFTR!

@RaduBerinde RaduBerinde merged commit fe658a2 into cockroachdb:main Nov 22, 2025
7 of 8 checks passed
@RaduBerinde RaduBerinde deleted the unwrap-text branch November 22, 2025 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants