You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

setting.go 314 B

123456789101112131415
  1. package util
  2. import "fmt"
  3. func GetUploadXlsxPath(fileId string) string {
  4. return fmt.Sprintf("tmpFiles/%s.xlsx", fileId)
  5. }
  6. func GetUploadCsvPath(fileId string) string {
  7. return fmt.Sprintf("tmpFiles/%s.csv", fileId)
  8. }
  9. func GetUploadFilePath(fileId string) string {
  10. return fmt.Sprintf("tmpFiles/%s", fileId)
  11. }

基于Casbin的开源AI领域知识库平台

Contributors (1)