Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumGostruct embedding and promotionSingle-choice MCQ

An *http.ServeMux is embedded in a custom Server struct. The struct also embeds sync.Mutex. Which statement is correct about the resulting method set?

type Server struct { sync.Mutex *http.ServeMux }