mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-21 05:11:17 +00:00
14 lines
188 B
Go
14 lines
188 B
Go
|
// +build go1.4
|
||
|
|
||
|
package ldap
|
||
|
|
||
|
import (
|
||
|
"sync/atomic"
|
||
|
)
|
||
|
|
||
|
// For compilers that support it, we just use the underlying sync/atomic.Value
|
||
|
// type.
|
||
|
type atomicValue struct {
|
||
|
atomic.Value
|
||
|
}
|