github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/internal/empty/empty.go (about) 1 package empty 2 3 import "sync" 4 5 type ( 6 Chan chan struct{} 7 ChanReadonly <-chan struct{} 8 Struct struct{} 9 ) 10 11 // DoNotCopy can be embedded in a struct to help prevent shallow copies. 12 // This does not rely on a Go language feature, but rather a special case 13 // within the vet checker. 14 // 15 // See https://golang.org/issues/8005. 16 type DoNotCopy [0]sync.Mutex