Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import (
- "fmt"
- )
- func main() {
- // Declarethe the constant PI and assign it a value.
- const PI = 3.14159
- // Call the variable.
- fmt.Println("PI: ", PI)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement