What are lightweight threads called in Go?
- Fibers
- Goroutines
- Processes
- Threads
Goroutines are lightweight threads of execution in Go, allowing concurrent execution without the overhead of full-blown threads.
Loading...
Related Quiz
- The _____ method in Go is used to decode a JSON document into a struct.
- What are the basic data types available in Go?
- The _______ operator in Go is used to access struct fields.
- Type assertions are used to extract the _____ value from an interface.
- The _______ method in the database/sql package is used to close a database connection.