diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-11-16 15:30:34 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-11-16 15:30:34 -0500 |
commit | f0ffa10c863345ea3a9a301be035f78af175e17c (patch) | |
tree | aba15bc1cf931c3a897af4abe505d9cacc5ce654 /fileactions.go | |
parent | c16e4c36d4f5f5f9d6d21f4644b9c38b61159c47 (diff) |
use 'string' instead of '[]byte' for data
Diffstat (limited to 'fileactions.go')
-rw-r--r-- | fileactions.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fileactions.go b/fileactions.go index d45b982..910fe5a 100644 --- a/fileactions.go +++ b/fileactions.go @@ -21,7 +21,7 @@ func (o FileModify) fiWriteFA(fiw *textproto.FIWriter) error { type FileModifyInline struct { Mode textproto.Mode Path textproto.Path - Data []byte + Data string } func (o FileModifyInline) fiWriteFA(fiw *textproto.FIWriter) error { @@ -74,7 +74,7 @@ func (o NoteModify) fiWriteFA(fiw *textproto.FIWriter) error { type NoteModifyInline struct { CommitIsh string - Data []byte + Data string } func (o NoteModifyInline) fiWriteFA(fiw *textproto.FIWriter) error { |