1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
Source: golang-github-modern-go-reflect2
Section: devel
Priority: optional
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Uploaders: MartÃn Ferrari <tincho@debian.org>,
Build-Depends: debhelper-compat (= 13),
dh-golang,
golang-any,
golang-github-modern-go-concurrent-dev,
Standards-Version: 4.5.0
Homepage: https://github.com/modern-go/reflect2
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-modern-go-reflect2
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-modern-go-reflect2.git
XS-Go-Import-Path: github.com/modern-go/reflect2
Rules-Requires-Root: no
Testsuite: autopkgtest-pkg-go
Package: golang-github-modern-go-reflect2-dev
Architecture: all
Depends: golang-github-modern-go-concurrent-dev,
${misc:Depends},
Description: Reflection API without runtime reflect.Value cost
The reflect2 package provides a reflection API that avoids runtime
reflect.Value cost:
.
* reflect get/set interface{}, with type checking
* reflect get/set unsafe.Pointer, without type checking
* reflect2.TypeByName works like Class.forName found in Java
.
This package is designed for low level libraries to optimize reflection
performance. General applications should still use the standard library
reflect.
|