diff options
author | Josh Bleecher Snyder <josh@tailscale.com> | 2020-12-22 10:08:25 -0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-01-07 14:49:44 +0100 |
commit | a1c265b0c5bea2c1c4a62acac0045fe93cd691cd (patch) | |
tree | a29303936a5013dede0ad65df1f1738bd26e1967 /ipc/uapi_bsd.go | |
parent | 25b01723ddc8bcd2993eb4b21e4e61164f55fa95 (diff) |
device: simplify UAPI helper methods
bufio is not required.
strings.Builder is cheaper than bytes.Buffer for constructing strings.
io.Writer is more flexible than io.StringWriter,
and just as cheap (when used with io.WriteString).
Run gofmt.
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
Diffstat (limited to 'ipc/uapi_bsd.go')
0 files changed, 0 insertions, 0 deletions