MCPcopy
hub / github.com/go-sql-driver/mysql / Unlock

Method Unlock

utils.go:757–757  ·  view source on GitHub ↗

Unlock is a no-op used by -copylocks checker from `go vet`. noCopy should implement sync.Locker from Go 1.11 https://github.com/golang/go/commit/c2eba53e7f80df21d51285879d51ab81bcfbf6bc https://github.com/golang/go/issues/26165

()

Source from the content-addressed store, hash-verified

755// https://github.com/golang/go/commit/c2eba53e7f80df21d51285879d51ab81bcfbf6bc
756// https://github.com/golang/go/issues/26165
757func (*noCopy) Unlock() {}
758
759// atomicError is a wrapper for atomically accessed error values
760type atomicError struct {

Callers 10

RegisterTLSConfigFunction · 0.80
DeregisterTLSConfigFunction · 0.80
RegisterServerPubKeyFunction · 0.80
DeregisterServerPubKeyFunction · 0.80
RegisterDialContextFunction · 0.80
DeregisterDialContextFunction · 0.80
RegisterLocalFileFunction · 0.80
DeregisterLocalFileFunction · 0.80
RegisterReaderHandlerFunction · 0.80
DeregisterReaderHandlerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected