This commit is contained in:
@@ -7,10 +7,6 @@ import (
|
||||
"path/filepath"
|
||||
)
|
||||
|
||||
// --------------------------------------------
|
||||
// FILES NAMES
|
||||
// --------------------------------------------
|
||||
|
||||
func GenerateUniqueFileName(productName string, originalFileName string) string {
|
||||
n, _ := rand.Int(rand.Reader, big.NewInt(1000000))
|
||||
randomString := fmt.Sprintf("%d", n.Int64())
|
||||
|
||||
Reference in New Issue
Block a user