Skip to content

Processing Reflection-Related Strings in Go #820

Open
@Arker123

Description

@Arker123

These strings appear to be related to RTTI / reflection. two things suggest this:

  1. their contents, which are Go type names, and
  2. working backwards, to see where they're used, are type descriptors (rtype and friends).

it might be possible to reconstruct these type descriptors, such as structures and their fields, used in a Go program, and then we'd be able to link the string to the type/structure/metadata.

the upside: more complete information
downside: more work

the existing approach is simple and probably works fine. maybe we can update the documentation here to clarify what strings these likely are (reflection-related).

Originally posted by @williballenthin in #792 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions