Add test for scan reader

This commit is contained in:
Dane Everitt
2022-01-22 14:52:24 -05:00
parent 1591d86e23
commit 2a9c9e893e
2 changed files with 42 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ var (
// The maximum size of the buffer used to send output over the console to
// clients. Once this length is reached, the line will be truncated and sent
// as is.
const maxBufferSize = 64 * 1024
var maxBufferSize = 64 * 1024
// FirstNotEmpty returns the first string passed in that is not an empty value.
func FirstNotEmpty(v ...string) string {