Documentation
¶
Index ¶
- func CheckFile(path string) bool
- func CheckFolder(path string) bool
- func CheckRelativePath(path string) bool
- func Copy(src, dst string) error
- func CopyFolder(src, dst string) error
- func ExistFile(path string) bool
- func ExistFolder(path string) bool
- func FullPath(path string) (string, error)
- func OpenFile(path string) *os.File
- func WriteLine(path string, line int, content string) error
- type FileWriter
- type YmlReader
- type YmlWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFolder ¶ added in v0.0.5
check folder and create if not exist
func CheckRelativePath ¶ added in v0.0.12
func ExistFolder ¶ added in v0.0.9
check folder and create if not exist
Types ¶
type FileWriter ¶ added in v0.0.17
type FileWriter struct {
Path string
}
func NewFileWriter ¶ added in v0.0.17
func NewFileWriter(path string) *FileWriter
func (*FileWriter) Write ¶ added in v0.0.17
func (writer *FileWriter) Write(text string) error
type YmlReader ¶ added in v0.0.5
type YmlReader struct {
Path string
}
func NewYmlReader ¶ added in v0.0.5
type YmlWriter ¶ added in v0.0.5
type YmlWriter struct {
Path string
}
func NewYmlWriter ¶ added in v0.0.5
Click to show internal directories.
Click to hide internal directories.