package
module
Version:
v0.0.0-...-af293d6
Opens a new window with list of versions in this module.
Published: Jul 10, 2021
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
read-file-last-line
read-file-last-line
step
-
open file and get file size
-
readAt() form file end,
-
loop
- read file like pieces, size from 64byte to 128byte to 256byte ...
- put contents to bytes.Buffer
- record content length
until find line break
-
reassemble contents, like from [e,d,bc,a] to [a,bc,d,e]
Documentation
¶
Source Files
¶
Directories
¶
cmd
|
|
|
|
Click to show internal directories.
Click to hide internal directories.