github.com/aristanetworks/gomap@v0.0.0-20240103001659-f6b0e31fb1a7/rand_122.go (about)

     1  // Modifications copyright (c) Arista Networks, Inc. 2022
     2  // Underlying
     3  // Copyright 2014 The Go Authors. All rights reserved.
     4  // Use of this source code is governed by a BSD-style
     5  // license that can be found in the LICENSE file.
     6  
     7  //go:build go1.22
     8  
     9  package gomap
    10  
    11  import (
    12  	"math/rand/v2"
    13  )
    14  
    15  func rand64() uint64 {
    16  	return rand.Uint64()
    17  }