diff --git a/src/data/roadmaps/golang/content/101-go-advanced/112-pointers.md b/src/data/roadmaps/golang/content/101-go-advanced/112-pointers.md new file mode 100644 index 000000000..378508434 --- /dev/null +++ b/src/data/roadmaps/golang/content/101-go-advanced/112-pointers.md @@ -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. \ No newline at end of file diff --git a/src/data/roadmaps/golang/golang.json b/src/data/roadmaps/golang/golang.json index 239bb84c2..e9615b598 100644 --- a/src/data/roadmaps/golang/golang.json +++ b/src/data/roadmaps/golang/golang.json @@ -5115,9 +5115,9 @@ "ID": "3232", "typeID": "__group__", "zOrder": "121", - "measuredW": "282", + "measuredW": "142", "measuredH": "42", - "w": "282", + "w": "142", "h": "42", "x": "725", "y": "969", @@ -5131,7 +5131,7 @@ "ID": "0", "typeID": "Canvas", "zOrder": "0", - "w": "282", + "w": "142", "h": "42", "measuredW": "100", "measuredH": "70", @@ -5147,7 +5147,7 @@ "zOrder": "1", "measuredW": "66", "measuredH": "24", - "x": "108", + "x": "38", "y": "9", "properties": { "size": "16", @@ -5187,6 +5187,53 @@ "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" + } + } + ] + } + } } ] },