Quiz 5
1. Which tool is used to call C code from Go?
2. In reflection, how do you modify the value a pointer points to?
3. Where must 'recover()' be called to effectively stop a panic?
4. What happens if a goroutine tries to lock a sync.Mutex it already holds?
5. Which file defines the module's path and its dependency requirements?
6. How do you prevent a package from being imported by external modules?
7. When are Go constants evaluated?
8. Which package allows for arbitrary memory address manipulation?
9. In Go, what is the 'rune' type an alias for?
10. What is the purpose of the 'go mod vendor' command?
Previous Next