Source: golang-github-alecthomas-repr Section: golang Priority: optional Maintainer: Debian Go Packaging Team Uploaders: Anthony Fok Rules-Requires-Root: no Build-Depends: debhelper-compat (= 13), dh-sequence-golang, golang-any (>= 2:1.18~) Testsuite: autopkgtest-pkg-go Standards-Version: 4.6.2 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 Multi-Arch: foreign Depends: ${misc:Depends} 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}}