()
| 97 | } |
| 98 | |
| 99 | func GenHex() string { |
| 100 | rand.Seed(time.Now().UnixNano()) |
| 101 | |
| 102 | // Generate a random number and convert it to a hexadecimal string |
| 103 | hexString := fmt.Sprintf("%x", rand.Intn(4096)) // 4096 is 16^3, ensuring up to 3 hex characters |
| 104 | return hexString |
| 105 | } |
| 106 | |
| 107 | func GenerateURIValues(numb int, profile_type int, Post bool, customuri string) string { |
| 108 | var uri string |
no outgoing calls
no test coverage detected