I am trying to break a string literal into multiple lines to meet my linter's expectations of short lines. Following is the code right now, it passes the linter check:
return nil,
"",
errors.Errorf(
`nil cursor returned when querying for transactions for block hash %s,
page token %s and limit %d`,
blockHash,
pageToken,
limit,
)
I don't like the formatting of the string literal. It feels aesthetically wrong ;). Is there a better way to format this? Thanks!