forked from real-logic/simple-binary-encoding
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Go] Refactor whitespace in GolangGenerator (real-logic#844)
Adds function `generateWhitespace` which uses the same String.format technique, but validates the input. It also always generates at least one space. This change should only affect the whitespace of the output. It does not attempt to change the logic that might be the underlying cause of real-logic#844.
- Loading branch information
Showing
1 changed file
with
20 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters