Skip to content

Commit edd6360

Browse files
committed
anpassungen für github... src aufräumung
1 parent 2ea3cc9 commit edd6360

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

Diff for: go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module r4g9.l11/svn/m~/m~go/m~examples
1+
module github.com/maheis/m.gowiese
22

33
go 1.21.1

Diff for: data.json renamed to jsonfile/data.json

File renamed without changes.

Diff for: jason.go renamed to jsonfile/jsonfile.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package main
1+
package jsonfile
22

33
import (
44
"encoding/json"
@@ -12,7 +12,7 @@ type Person struct {
1212
Email string `json:"email"`
1313
}
1414

15-
func myJson() {
15+
func Jsonfile() {
1616
file, err := os.Open("data.json")
1717
if err != nil {
1818
fmt.Println(err)

Diff for: main.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ import (
66
"fmt"
77
"time"
88

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"
1112
)
1213

1314
func main() {
@@ -52,7 +53,7 @@ func main() {
5253

5354
fmt.Println("#######")
5455
myHeap()
55-
myJson()
56+
jsonfile.Jsonfile()
5657
}
5758

5859
func calc() {

Diff for: types.go

+1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ package main
1919

2020
// bool
2121

22+
// Konvertierung von int nach float
2223
var I int = 42
2324
var F float64 = float64(I)

0 commit comments

Comments
 (0)