Skip to content

Commit

Permalink
更新0515
Browse files Browse the repository at this point in the history
  • Loading branch information
ffhelicopter committed May 15, 2019
1 parent 276fe2d commit 93b1485
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions source-code/ch05/1/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ import (
"fmt"
)

var (
Ga int = 99 // Ga
)
// Ga is global
var Ga = 99

const (
v int = 199
)

// GetGa
// GetGa return Ga
func GetGa() func() int {

if Ga := 55; Ga < 60 {
Expand Down

0 comments on commit 93b1485

Please sign in to comment.