ProghubPH
Question from quiz Golang: Basics
Add question
Go / junior

Which code line will prevent successful compilation?

 single option
package main

import "sync"

type mut1 sync.Mutex

type mut2 struct {  
    sync.Mutex
}

func main() {  
    var m1 mut1
    var m2 mut2
    m1.Lock()
    m2.Lock()
}
5
8
14
15