File tree 5 files changed +8
-6
lines changed
5 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
- module r4g9.l11/svn/m~/m~go/m~examples
1
+ module github.com/maheis/m.gowiese
2
2
3
3
go 1.21.1
File renamed without changes.
Original file line number Diff line number Diff line change 1
- package main
1
+ package jsonfile
2
2
3
3
import (
4
4
"encoding/json"
@@ -12,7 +12,7 @@ type Person struct {
12
12
Email string `json:"email"`
13
13
}
14
14
15
- func myJson () {
15
+ func Jsonfile () {
16
16
file , err := os .Open ("data.json" )
17
17
if err != nil {
18
18
fmt .Println (err )
Original file line number Diff line number Diff line change 6
6
"fmt"
7
7
"time"
8
8
9
- "r4g9.l11/svn/m~/m~go/m~examples/calculator"
10
- "r4g9.l11/svn/m~/m~go/m~examples/composite"
9
+ "github.com/maheis/m.gowiese/calculator"
10
+ "github.com/maheis/m.gowiese/composite"
11
+ "github.com/maheis/m.gowiese/jsonfile"
11
12
)
12
13
13
14
func main () {
@@ -52,7 +53,7 @@ func main() {
52
53
53
54
fmt .Println ("#######" )
54
55
myHeap ()
55
- myJson ()
56
+ jsonfile . Jsonfile ()
56
57
}
57
58
58
59
func calc () {
Original file line number Diff line number Diff line change @@ -19,5 +19,6 @@ package main
19
19
20
20
// bool
21
21
22
+ // Konvertierung von int nach float
22
23
var I int = 42
23
24
var F float64 = float64 (I )
You can’t perform that action at this time.
0 commit comments