fix typos
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
83be58f17e
commit
b4488c647b
9 changed files with 11 additions and 11 deletions
|
@ -55,7 +55,7 @@ func HashData(src io.Reader) (string, error) {
|
|||
return "sha256:" + hex.EncodeToString(h.Sum(nil)), nil
|
||||
}
|
||||
|
||||
// OnEOFReader wraps a io.ReadCloser and a function
|
||||
// OnEOFReader wraps an io.ReadCloser and a function
|
||||
// the function will run at the end of file or close the file.
|
||||
type OnEOFReader struct {
|
||||
Rc io.ReadCloser
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue