Documentation ¶
Index ¶
- func ConcatenateFiles(fileAPath string, fileBPath string, outputFilePath string)
- func CreateFile(filePath string) error
- func GetExecPath() string
- func GetRootDir() (string, error)
- func IsExists(path string) (os.FileInfo, bool)
- func JoinPath(parentFolder string, fileOrFolder string) string
- type ReadLineFromEnd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConcatenateFiles ¶
func CreateFile ¶ added in v0.0.4
func GetExecPath ¶
func GetExecPath() string
func GetRootDir ¶ added in v0.0.18
get current dir, 运行的目录,不一定是项目根目录,比如在某个目录下运行某个debug test,目录就是某个子/子...目录
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 end include '\n'
Click to show internal directories.
Click to hide internal directories.