delete the trailing spaces

This commit is contained in:
Muhammed Can Küçükaslan 2022-07-25 00:41:37 +03:00 committed by GitHub
parent 7c4fce7820
commit b04724a072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ func (r *Reader) Len() int {
return int(int64(len(r.s)) - r.i) return int(int64(len(r.s)) - r.i)
} }
// Size returns the original length of the underlying byte slice. // Size returns the original length of the underlying byte slice.
// Size is the number of bytes available for reading via ReadAt. // Size is the number of bytes available for reading via ReadAt.
// The result is unaffected by any method calls except Reset. // The result is unaffected by any method calls except Reset.
func (r *Reader) Size() int64 { return int64(len(r.s)) } func (r *Reader) Size() int64 { return int64(len(r.s)) }