Source: golang-github-alecthomas-repr Maintainer: Debian Go Packaging Team Uploaders: Anthony Fok Section: devel Testsuite: autopkgtest-pkg-go Priority: optional Build-Depends: debhelper (>= 11), dh-golang (>= 1.34~), golang-any (>= 2:1.10~), golang-github-stretchr-testify-dev Standards-Version: 4.3.0 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-alecthomas-repr Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-alecthomas-repr.git Homepage: https://github.com/alecthomas/repr XS-Go-Import-Path: github.com/alecthomas/repr Package: golang-github-alecthomas-repr-dev Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, golang-github-stretchr-testify-dev Description: Python's repr() for Go The repr package attempts to represent Go values in a form that can be used almost directly in Go source code. . Unfortunately, some values (such as pointers to basic types) cannot be represented directly in Go. These values will be represented as &, e.g. &23 . Example: . type test struct { S string I int A []int } . func main() { repr.Print(&test{ S: "String", I: 123, A: []int{1, 2, 3}, }) } . Outputs . &main.test{S: "String", I: 123, A: []int{1, 2, 3}}