Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import (
- "fmt"
- )
- func main() {
- // Declare the variable “name”.
- var name string
- // Assign a string value to it.
- name = "Michael"
- // Call the variable.
- fmt.Println("Hello, ", name)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement