Skip to content

Commit a55b4ed

Browse files
committed
commit sqrt
1 parent 75e52f1 commit a55b4ed

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

Diff for: main.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1+
package main
2+
13
/*
24
* @Description: "the entry point of our executable program."
35
* @Date: 2019-09-22 15:05:54
46
* @LastEditors: wangtongli
57
6-
* @LastEditTime: 2019-09-22 15:35:25
8+
* @LastEditTime: 2019-09-22 16:17:14
79
*/
810

9-
package main
10-
1111
import (
1212
"fmt"
1313
)
1414

1515
func main() {
16-
fmt.Println("hello wrold!")
16+
fmt.Println(mySqrt(9))
1717
}

Diff for: mysqrt.go

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package main
2+
3+
/*
4+
* @Description: "sqrt function"
5+
* @Date: 2019-09-22 16:08:09
6+
* @LastEditors: wangtongli
7+
8+
* @LastEditTime: 2019-09-22 16:21:02
9+
*/
10+
11+
func mySqrt(x int) int {
12+
return 0
13+
}

0 commit comments

Comments
 (0)