Skip to content

Commit 8114ba4

Browse files
committed
updating question on go compiler
1 parent 013e295 commit 8114ba4

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,7 @@
12431243
| 8 | [What are Goroutines?](#what-are-goroutines)
12441244
| 9 | [What is nil in Go?](#what-is-nil-in-go)
12451245
| 10 | [What is the difference between array and slice in Go?](#what-is-the-difference-between-array-and-slice-in-go)
1246+
| 11 | [How does a go compiler work?](#how-does-a-go-compiler-work)
12461247

12471248

12481249

@@ -1356,4 +1357,10 @@
13561357
slicee := make([]Type, length, capacity)
13571358
```
13581359

1359-
**[ Back to Top ⬆ ](#table-of-contents---golang)**
1360+
**[ Back to Top ⬆ ](#table-of-contents---golang)**
1361+
1362+
11. ### How does a go compiler work?
1363+
1364+
A Go compiler goes through the following steps , they are in brief , if we go in detail then you will need a complete book to understand each module, for interview purpose , I have attached a hand written note , I will generate a digital form soon
1365+
1366+
![go compiler](/img/go_compiler.jpeg)

img/go_compiler.jpeg

1.12 MB
Loading

sentence_to_hashing_converter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ function hashing(num=0,str) {
2020
return `| ${num} | [${str}?](#${hashed})`
2121
}
2222

23-
console.log(hashing(10,'What is the difference between array and slice in Go'));
23+
console.log(hashing(11,'How does a go compiler work'));

0 commit comments

Comments
 (0)