This commit is contained in:
suyl
2021-07-20 15:10:42 +08:00
parent 1facd77f78
commit 59cc2d4ffd
3 changed files with 38 additions and 4 deletions

View File

@@ -36,6 +36,8 @@ var (
}
letterBytes = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
flowUnitMap = map[string]string{}
)
const fileExt = ".xlsx"
@@ -675,3 +677,7 @@ func BuildErr(errs []error) (err error) {
}
return fmt.Errorf(errStr.String())
}
func SplitFlowAndUnit(flowStr string) (flow float64, unit string) {
return flow, unit
}