mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-23 23:58:44 +00:00
b6e47a3f4a
* update github.com/containerd/containerd v1.5.7 -> v1.5.9 * update github.com/lib/pq v1.10.3 -> v1.10.4 * update github.com/prometheus/client_golang v1.11.0 -> v1.12.0 * update github.com/rs/zerolog v1.25.0 -> v1.26.1 * update golang.org/x/crypto 2021-12-15 -> 2022-01-28
17 lines
378 B
Go
17 lines
378 B
Go
//+build go1.9
|
|
|
|
package reflect2
|
|
|
|
import (
|
|
"unsafe"
|
|
)
|
|
|
|
//go:linkname resolveTypeOff reflect.resolveTypeOff
|
|
func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer
|
|
|
|
//go:linkname makemap reflect.makemap
|
|
func makemap(rtype unsafe.Pointer, cap int) (m unsafe.Pointer)
|
|
|
|
func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer {
|
|
return makemap(rtype, cap)
|
|
}
|