MCPcopy Create free account
hub / github.com/Tylous/SourcePoint / GenHex

Function GenHex

Utils/Utils.go:99–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97}
98
99func 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
107func GenerateURIValues(numb int, profile_type int, Post bool, customuri string) string {
108 var uri string

Callers 1

GeneratePostProcessNameFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected