package main

import "fmt"
import (
    `math/rand`
    "time"
)

var rng = rand.New(rand.NewSource(time.Now().UnixNano()))

func main() {
    x := rng.Intn(10)
    fmt.Println("the number is", x)

    y := `
this is 
my message
`
    fmt.Println(y)
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: