fix: some conflicts on examples.

This commit is contained in:
Bo-Yi Wu
2017-02-11 20:47:59 +08:00
parent 65085a87c7
commit 5a977ac0c4
2 changed files with 22 additions and 42 deletions

View File

@@ -1,25 +1,13 @@
package main
<<<<<<< HEAD
=======
>>>>>>> 0364d180eb1d1b8067d1248ace49ca46c816e541
import (
"fmt"
"os"
)
<<<<<<< HEAD
func main() {
var goos string = os.Getenv("GOOS")
fmt.Printf("The operating system is: %s\n", goos)
path := os.Getenv("PATH")
fmt.Printf("Path is %s\n", path)
}
=======
func main() {
var goos string = os.Getenv("GOOS")
fmt.Printf("The operating system is: %s\n", goos)
path := os.Getenv("PATH")
fmt.Printf("Path is %s\n", path)
}
>>>>>>> 0364d180eb1d1b8067d1248ace49ca46c816e541

View File

@@ -1,5 +1,4 @@
package trans
<<<<<<< HEAD
import "math"
@@ -8,10 +7,3 @@ var Pi float64
func init() {
Pi = 4 * math.Atan(1) // init() function computes Pi
}
=======
import "math"
var Pi float64
func init() {
Pi = 4 * math.Atan(1) // init() function computes Pi
}
>>>>>>> 0364d180eb1d1b8067d1248ace49ca46c816e541