Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateFile ¶
func GenerateFile(context, fileName string)
通过内容生成文件 fileName 路径+文件名 context 文件内容
Types ¶
type ReadLineFromEnd ¶
type ReadLineFromEnd struct {
// contains filtered or unexported fields
}
ReadLineFromEnd --
func NewReadLineFromEnd ¶
func NewReadLineFromEnd(filename string) (rd *ReadLineFromEnd, err error)
NewReadLineFromEnd 从末尾读取文件内容
func (*ReadLineFromEnd) ReadLine ¶
func (c *ReadLineFromEnd) ReadLine() (line []byte, err error)
ReadLine 结尾包含'\n'
Click to show internal directories.
Click to hide internal directories.