mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-13 18:16:04 +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
|
||
|
}
|