filex

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

* @Author: reel * @Date: 2023-05-11 22:28:37 * @LastEditors: reel * @LastEditTime: 2023-05-16 21:42:36 * @Description: 请填写简介

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatDir

func CreatDir(path string) error

判断文件路径是否存在, 如果不存在则创建

func FileSize

func FileSize(s int64) string

func IsExists

func IsExists(path string) (os.FileInfo, error)

判断文件路径是否存在

func SplitStrToLine

func SplitStrToLine(str string) (strList []string)

字符串/文本按行读取, 根据 mac, Windows, Linux 等不同平台进行分割

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL