Documentation
¶
Index ¶
- func IsNotExist(path string) bool
- func Mkdir(filePath string) error
- func OpenFile(filePath string, permType PermType) (*os.File, error)
- func ReadCsv(filePath string, skipHeader bool) ([][]string, error)
- func ReadExcel(filePath string, sheetName string) (content [][]string, err error)
- func ReadFile(filePath string) (ret []string, err error)
- func ReadJson(filePath string) (map[string]interface{}, error)
- func UpdateExcel(fileName, sheetName string, area Area, calAreas []Area, ...) error
- func WriteCsv(filePath string, records [][]string, append bool) error
- func WriteExcel(filePath string, content [][]string) error
- func WriteFile(filePath string, content []string) (err error)
- func WriteJson(filePath string, m map[string]interface{}) error
- type Absolute
- type Area
- type Coordinate
- type PermType
- type Relative
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotExist ¶
func UpdateExcel ¶
func WriteExcel ¶
Types ¶
type Area ¶
type Area struct {
// contains filtered or unexported fields
}
func (Area) GetBoundary ¶
func (Area) ToCellNameArray ¶
func (Area) ToCellNameList ¶
type Coordinate ¶
type Coordinate struct {
// contains filtered or unexported fields
}
func (Coordinate) GetCellName ¶
func (c Coordinate) GetCellName(relative string) string
Click to show internal directories.
Click to hide internal directories.