The _______ keyword in Go is used to declare anonymous functions.
- func
- defer
- go
- anonymous
In Go, anonymous functions are declared using the func keyword followed by an optional parameter list and return type. Thus, the correct option is 'anonymous'.
Loading...
Related Quiz
- The approach to database connection pooling varies based on the _______ used by the database system.
- The size of the '_______' data type in Go on a 64-bit system is 8 bytes.
- What does REST stand for and how does it relate to API development?
- The ______ package in Go provides support for test automation.
- In a microservices architecture, how can mocking be beneficial for testing individual services?