diff --git a/.gitignore b/.gitignore index d72165c..c13bf6e 100644 --- a/.gitignore +++ b/.gitignore @@ -42,4 +42,5 @@ /golang_learn/.idea/modules.xml /golang_frame/.idea/vcs.xml /golang_learn/.idea/vcs.xml +/golang_learn/data_func/go_to_TjHz/J21/J2101.go */frontend/dist/* diff --git a/golang_learn/data_func/go_to_TjHz/J2101/J2101001.go b/golang_learn/data_func/go_to_TjHz/J210X/J2101001.go similarity index 96% rename from golang_learn/data_func/go_to_TjHz/J2101/J2101001.go rename to golang_learn/data_func/go_to_TjHz/J210X/J2101001.go index 9a187c5..16cfe95 100644 --- a/golang_learn/data_func/go_to_TjHz/J2101/J2101001.go +++ b/golang_learn/data_func/go_to_TjHz/J210X/J2101001.go @@ -1,4 +1,4 @@ -package J2101 +package J210X func J024_1_1() float64 { return 12.0 diff --git a/golang_learn/data_func/go_to_TjHz/main.go b/golang_learn/data_func/go_to_TjHz/main.go index d4848ce..19b582a 100644 --- a/golang_learn/data_func/go_to_TjHz/main.go +++ b/golang_learn/data_func/go_to_TjHz/main.go @@ -2,13 +2,13 @@ package main import ( "fmt" - "golang_learn/data_func/go_to_TjHz/J2101" + "golang_learn/data_func/go_to_TjHz/J210X" ) func main() { - fmt.Printf("%f\n", J2101.J024_1_1()+J2101.J024_2_1()) - fmt.Printf("%f\n", J2101.J024_1_2()+J2101.J024_2_2()) - fmt.Printf("%f\n", J2101.J024_1_12()*J2101.J024_2_12()) - fmt.Printf("%f\n", J2101.J024_1_13()/J2101.J024_2_13()) - fmt.Printf("%f\n", J2101.J024_1_14()/J2101.J024_2_14()) + fmt.Printf("%f\n", J210X.J024_1_1()+J210X.J024_2_1()) + fmt.Printf("%f\n", J210X.J024_1_2()+J210X.J024_2_2()) + fmt.Printf("%f\n", J210X.J024_1_12()*J210X.J024_2_12()) + fmt.Printf("%f\n", J210X.J024_1_13()/J210X.J024_2_13()) + fmt.Printf("%f\n", J210X.J024_1_14()/J210X.J024_2_14()) }