Skip to content

Commit 3c2a1c3

Browse files
committed
you're doing great
1 parent dffb4d0 commit 3c2a1c3

20 files changed

+5
-9097
lines changed

040_json/12_null/main.go

+2
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ func main() {
1515
log.Fatalln(err)
1616
}
1717
fmt.Println(a)
18+
fmt.Println(len(a))
19+
fmt.Println(cap(a))
1820
}

040_json/13_marshal/main.go

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ type model struct {
1313
func main() {
1414
m := model{}
1515

16+
fmt.Println(m)
17+
1618
bs, err := json.Marshal(m)
1719
if err != nil {
1820
fmt.Println("error: ", err)

040_json/16_hands-on/instructions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ IN AN HTML FILE
22

33
Create an array to hold objects in javascript.
44

5-
Each object should store a "Code" as in a number and "Descrip" as a string.
5+
Each object should store a "Code" as a number and "Descrip" as a string.
66

77
The array should hold all of the objects. Create objects for the following HTTP status codes:
88

040_json/18_hands-on/instructions.txt

-11
This file was deleted.

040_json/19_solution/index.html

-116
This file was deleted.

040_json/20_hands-on/instructions.txt

-30
This file was deleted.

040_json/21_solution/01_stoners/01/main.go

-22
This file was deleted.

0 commit comments

Comments
 (0)