mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-30 09:41:11 -05: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
|
||
|
}
|