/
githubmirror
/
ydb-go-sdk
Обзор
Документация
Войти
/
githubmirror
/
ydb-go-sdk
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
internal/empty/empty.go
16 строк
372 B
Timofey Koolin
fix empty types
24 июл 2024, 13:11
24 июл 2024, 13:11
a558e56
Код
Авторство
О чём код?
package empty import "sync" type ( Chan = chan struct{} ChanReadonly = <-chan struct{} Struct = struct{} ) // DoNotCopy can be embedded in a struct to help prevent shallow copies. // This does not rely on a Go language feature, but rather a special case // within the vet checker. // // See https://golang.org/issues/8005. type DoNotCopy [0]sync.Mutex