package main import ( "fmt" "math/rand" ) func main() { rand.Seed(time.Now().UnixNano()) // Generate a random number between 0 and 100 randNum := rand.Int31n(100) fmt.Printf("Random number between 0 and 100: %v", randNum) }In this example, we first seed the random number generator using the current time. Then, we generate a random number between 0 and 100 using the RandInt31n function. Finally, we print the generated number to the console. The package library used in this example is the standard math/rand library provided by Go.