openbrain/util/setting.go

16 lines
314 B
Go

package util
import "fmt"
func GetUploadXlsxPath(fileId string) string {
return fmt.Sprintf("tmpFiles/%s.xlsx", fileId)
}
func GetUploadCsvPath(fileId string) string {
return fmt.Sprintf("tmpFiles/%s.csv", fileId)
}
func GetUploadFilePath(fileId string) string {
return fmt.Sprintf("tmpFiles/%s", fileId)
}