refactor: variables/assignment exercises code

This commit is contained in:
Inanc Gumus
2018-10-22 22:47:16 +03:00
parent da911d4ae5
commit 09cdbc91c1
7 changed files with 10 additions and 4 deletions

View File

@ -19,7 +19,7 @@ package main
// ---------------------------------------------------------
func main() {
// DON'T TOUCH THIS:
// UNCOMMENT THE CODE BELOW:
// color := "green"

View File

@ -35,7 +35,7 @@ package main
// ---------------------------------------------------------
func main() {
// DON'T TOUCH THIS
// UNCOMMENT THE CODE BELOW:
// color := "green"

View File

@ -26,7 +26,7 @@ package main
// ---------------------------------------------------------
func main() {
// DO NOT CHANGE THIS
// UNCOMMENT THE CODE BELOW:
// var (
// length int

View File

@ -25,7 +25,7 @@ package main
// ---------------------------------------------------------
func main() {
// DO NOT TOUCH THIS
// UNCOMMENT THE CODE BELOW:
// var (
// planet string

View File

@ -22,6 +22,8 @@ package main
// ---------------------------------------------------------
func main() {
// UNCOMMENT THE CODE BELOW:
// color, color2 := "red", "blue"
// ?

View File

@ -19,6 +19,8 @@ package main
// ---------------------------------------------------------
func main() {
// UNCOMMENT THE CODE BELOW:
// red, blue := "red", "blue"
// ?
}

View File

@ -22,5 +22,7 @@ package main
// ---------------------------------------------------------
func main() {
// UNCOMMENT THE CODE BELOW:
// ? ?= path.Split("secret/file.txt")
}