Add pointers to golang roadmap

pull/5650/head
Kamran Ahmed 7 months ago
parent 742b79e473
commit af3bbd9320
  1. 3
      src/data/roadmaps/golang/content/101-go-advanced/112-pointers.md
  2. 55
      src/data/roadmaps/golang/golang.json

@ -0,0 +1,3 @@
# Go Pointers
Go pointers are a powerful feature that allows you to work with memory addresses directly. They are used to store the memory address of a variable. This can be useful when you need to pass a large amount of data to a function or when you need to modify the value of a variable inside a function.

@ -5115,9 +5115,9 @@
"ID": "3232", "ID": "3232",
"typeID": "__group__", "typeID": "__group__",
"zOrder": "121", "zOrder": "121",
"measuredW": "282", "measuredW": "142",
"measuredH": "42", "measuredH": "42",
"w": "282", "w": "142",
"h": "42", "h": "42",
"x": "725", "x": "725",
"y": "969", "y": "969",
@ -5131,7 +5131,7 @@
"ID": "0", "ID": "0",
"typeID": "Canvas", "typeID": "Canvas",
"zOrder": "0", "zOrder": "0",
"w": "282", "w": "142",
"h": "42", "h": "42",
"measuredW": "100", "measuredW": "100",
"measuredH": "70", "measuredH": "70",
@ -5147,7 +5147,7 @@
"zOrder": "1", "zOrder": "1",
"measuredW": "66", "measuredW": "66",
"measuredH": "24", "measuredH": "24",
"x": "108", "x": "38",
"y": "9", "y": "9",
"properties": { "properties": {
"size": "16", "size": "16",
@ -5187,6 +5187,53 @@
"y": -0.5 "y": -0.5
} }
} }
},
{
"ID": "3234",
"typeID": "__group__",
"zOrder": "122",
"measuredW": "133",
"measuredH": "42",
"w": "133",
"h": "42",
"x": "873",
"y": "969",
"properties": {
"controlName": "112-go-advanced:pointers"
},
"children": {
"controls": {
"control": [
{
"ID": "0",
"typeID": "Canvas",
"zOrder": "0",
"w": "133",
"h": "42",
"measuredW": "100",
"measuredH": "70",
"x": "0",
"y": "0",
"properties": {
"color": "16770457"
}
},
{
"ID": "1",
"typeID": "Label",
"zOrder": "1",
"measuredW": "60",
"measuredH": "24",
"x": "37",
"y": "9",
"properties": {
"size": "16",
"text": "Pointers"
}
}
]
}
}
} }
] ]
}, },

Loading…
Cancel
Save