Skip to content

Commit d771cf1

Browse files
Merge pull request #9 from davidnuneslima/feat/go-fmt-golang-journey
feat: formatação dos diretórios hello-go e operators
2 parents 8aa3d80 + b7fac0b commit d771cf1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

hello-go/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ import "fmt"
66

77
func main() {
88
fmt.Println("Hello, World!")
9-
nome,sobrenome := fmt.Println("David Nunes")
10-
fmt.Println(nome,sobrenome)
11-
}
9+
nome, sobrenome := fmt.Println("David Nunes")
10+
fmt.Println(nome, sobrenome)
11+
}

operators/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import "fmt"
44

55
// Práticas de operações em Go!
66

7-
func main() {
7+
func main() {
88
x := 12
99
y := "aprendendo go"
1010
fmt.Printf("x: %v, %T\n", x, x)
1111
fmt.Printf("y: %v, %T", y, y)
12-
}
12+
}

0 commit comments

Comments
 (0)