Files
moxa/stdlib/go1_12_sync.go
Ludovic Fernandez 7e07a183ed chore: support go1.11 and go 1.12. (#130)
* feat: support go1.11 and go 1.12.

* chore: generate.

* fix: build constraint.

* exclude importer.For

* generate go 1.11
2019-03-19 22:08:17 +01:00

28 lines
722 B
Go

// +build go1.12,!go1.13
package stdlib
// Code generated by 'goexports sync'. DO NOT EDIT.
import (
"reflect"
"sync"
)
func init() {
Value["sync"] = map[string]reflect.Value{
// function, constant and variable definitions
"NewCond": reflect.ValueOf(sync.NewCond),
// type definitions
"Cond": reflect.ValueOf((*sync.Cond)(nil)),
"Locker": reflect.ValueOf((*sync.Locker)(nil)),
"Map": reflect.ValueOf((*sync.Map)(nil)),
"Mutex": reflect.ValueOf((*sync.Mutex)(nil)),
"Once": reflect.ValueOf((*sync.Once)(nil)),
"Pool": reflect.ValueOf((*sync.Pool)(nil)),
"RWMutex": reflect.ValueOf((*sync.RWMutex)(nil)),
"WaitGroup": reflect.ValueOf((*sync.WaitGroup)(nil)),
}
}