diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-08-24 09:53:26 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2021-08-24 09:53:26 +0200 |
commit | 806f1ca17888171403c9688dcf9b999fed205344 (patch) | |
tree | 7b6928645ad6609fd874384e6bd3345ea1db182b /client | |
parent | 4478aeeb245a208c8e4a4c4c9d217136de03f609 (diff) |
Use reader
Diffstat (limited to 'client')
-rw-r--r-- | client/go/util/print.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/go/util/print.go b/client/go/util/print.go index 76912094f6e..7734a2a1a9e 100644 --- a/client/go/util/print.go +++ b/client/go/util/print.go @@ -39,7 +39,7 @@ func Detail(messages ...string) { } // Prints all the text of the given reader -func PrintReader(reader io.ReadCloser) { +func PrintReader(reader io.Reader) { // TODO: Pretty-print body scanner := bufio.NewScanner(reader) for ;scanner.Scan(); { |