Programming Code Center(PCC)
[GO]

(PCC)::[how-to-declare-const-in-go-programming-language]::[go]

File Name : constant.go

package main

import (
    "fmt"
    "math"
)

const s string = "constant"

func main() {
    fmt.Println(s)

    const n = 500000000

    const d = 3e20 / n
    fmt.Println(d)

    fmt.Println(int64(d))

    fmt.Println(math.Sin(n))
}

Output :

constant.jpg