mirror of
https://github.com/Xevion/banner.git
synced 2026-01-31 08:23:35 -06:00
Rename NoCache() to Nonce()
This commit is contained in:
+2
-1
@@ -61,7 +61,8 @@ func RandomString(n int) string {
|
||||
return string(b)
|
||||
}
|
||||
|
||||
func NoCache() string {
|
||||
// Nonce returns a string made up of the current time in milliseconds, Unix epoch/UTC
|
||||
func Nonce() string {
|
||||
return strconv.Itoa(int(time.Now().UnixMilli()))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user