mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-29 03:10:35 +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
|
||
|
}
|