github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/builtin/providers/google/test_util.go (about)

     1  package google
     2  
     3  import (
     4  	"math/rand"
     5  	"time"
     6  )
     7  
     8  func genRandInt() int {
     9  	return rand.New(rand.NewSource(time.Now().UnixNano())).Int()
    10  }