Go Lang Flashcards

1
Q

What is a Go Module?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the Go Discovery Package tool

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is pkg.go.dev?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What go mod init command used for?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is go mod tidy

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the := operator

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do you write a function?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

how are variables passed into strings?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

fmt.Sprintf()

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a go slice?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do you write backwards compatible code?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Explain go build command

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Explain go install

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Explain go list -f ‘{{.Target}}’

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Explain: go work init

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How does the defer keyword work?

A
17
Q

Where can I find db driver?

A
18
Q

Where can I find golang packages?

A
19
Q

Explain json encoding/decoding in go

A
20
Q

Explain json.Unmarshal

A