Created
February 16, 2018 01:38
-
-
Save tomtsang/09dd8e6b5b3d5eeb2d3118bcf26db1d0 to your computer and use it in GitHub Desktop.
assign.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
power := 1000 | |
fmt.Printf("default power is %d\n", power) | |
name, power := "Goku", 9000 | |
fmt.Printf("%s's power is over %d\n", name, power) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment