Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add output sequencing to high-level RTR client.
- Loading branch information
Forrest Aldridge
committed
Dec 13, 2022
1 parent
6379571
commit 14f247d
Showing
2 changed files
with
63 additions
and
6 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package falcon_util | ||
|
||
// DerefString returns the deferenced string value or empty string if nil. | ||
func DerefString(s *string) string { | ||
if s != nil { | ||
return *s | ||
} | ||
|
||
return "" | ||
} |