Skip to content

Commit

Permalink
Add go_test_feature_branch repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Yang Zhikai committed Mar 12, 2019
1 parent 4f3e22f commit b6abe06
Show file tree
Hide file tree
Showing 21 changed files with 247 additions and 1 deletion.
14 changes: 14 additions & 0 deletions test/go_test_feature_branch/A/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package main
import(
"fmt"
)


func funcA () {
fmt.Println("func A is called!")
}

func main() {

}

14 changes: 14 additions & 0 deletions test/go_test_feature_branch/B/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package main
import(
"fmt"
)


func funcA () {
fmt.Println("func A is called!")
}

func main() {
funcA()
}

14 changes: 14 additions & 0 deletions test/go_test_feature_branch/C/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package main
import(
"fmt"
)


func funcA () {
fmt.Println("func A is called!")
}

func main() {

}

11 changes: 11 additions & 0 deletions test/go_test_feature_branch/D/func.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package main
import(
"fmt"
)
func return_1 () int{
return 1
}

func funcB (a int) {
fmt.Println("func A is called!")
}
14 changes: 14 additions & 0 deletions test/go_test_feature_branch/D/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package main
import(
"fmt"
)

func funcA () {
fmt.Println("func A is called!")
}
func main() {
funcA()
return_1()
}


11 changes: 11 additions & 0 deletions test/go_test_feature_branch/E/func.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package main
import(
"fmt"
)
func return_1 () int{
return 1
}

func funcB (a int) {
fmt.Println("func A is called!")
}
14 changes: 14 additions & 0 deletions test/go_test_feature_branch/E/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package main
import(
"fmt"
)

func funcA () {
fmt.Println("func A is called!")
}
func main() {
funcA()
return_1()
}


12 changes: 12 additions & 0 deletions test/go_test_feature_branch/F/func.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package main
import(
"fmt"
)
func return_1 () int{
fmt.Println("return 1")
return 1
}

func funcB (a int) {
fmt.Println("func A is called!")
}
14 changes: 14 additions & 0 deletions test/go_test_feature_branch/F/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package main
import(
"fmt"
)

func funcA () {
fmt.Println("func A is called!")
}
func main() {
funcA()
return_1()
}


11 changes: 11 additions & 0 deletions test/go_test_feature_branch/G/func.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package main
import(
"fmt"
)
func return_1 () int{
return 1
}

func funcB (a int) {
fmt.Println("func A is called!")
}
13 changes: 13 additions & 0 deletions test/go_test_feature_branch/G/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package main
import(
"fmt"
)

func funcA () {
fmt.Println("func A is called!")
}
func main() {

}


11 changes: 11 additions & 0 deletions test/go_test_feature_branch/H/func.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package main
import(
"fmt"
)
func return_1 () int{
return 1
}

func funcB (a int) {
fmt.Println("func A is called!")
}
13 changes: 13 additions & 0 deletions test/go_test_feature_branch/H/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package main
import(
"fmt"
)

func funcA () {
fmt.Println("func A is called!")
}
func main() {
funcA()
}


11 changes: 11 additions & 0 deletions test/go_test_feature_branch/I/func.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package main
import(
"fmt"
)
func return_1 () int{
return 1
}

func funcB (a int) {
fmt.Println("func A is called!")
}
14 changes: 14 additions & 0 deletions test/go_test_feature_branch/I/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package main
import(
"fmt"
)

func funcA () {
fmt.Println("func A is called!")
}
func main() {
funcA()
funcB()
}


12 changes: 12 additions & 0 deletions test/go_test_feature_branch/J/func.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package main
import(
"fmt"
)
func return_1 () int{
fmt.Println("return 1")
return 1
}

func funcB (a int) {
fmt.Println("func A is called!")
}
13 changes: 13 additions & 0 deletions test/go_test_feature_branch/J/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package main
import(
"fmt"
)

func funcA () {
fmt.Println("func A is called!")
}
func main() {
funcA()
}


12 changes: 12 additions & 0 deletions test/go_test_feature_branch/K/func.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package main
import(
"fmt"
)
func return_1 () int{
fmt.Println("return 1")
return 1
}

func funcB (a int) {
fmt.Println("func A is called!")
}
13 changes: 13 additions & 0 deletions test/go_test_feature_branch/K/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package main
import(
"fmt"
)

func funcA () {
fmt.Println("func A is called!")
}
func main() {
return_1()
}


6 changes: 6 additions & 0 deletions test/go_test_feature_branch/cg.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
digraph test_feature_branch {
A -> B -> C -> D -> E -> F -> K;
B -> G -> D ;
D -> H -> I -> E ;
A -> J -> F ;
}
1 change: 0 additions & 1 deletion test/go_test_history/L/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import(


func funcA () {

fmt.Println("Modify Add first line")
fmt.Println("Add medium line")
fmt.Println("func A is called!")
Expand Down

0 comments on commit b6abe06

Please sign in to comment.