Skip to content

Convert go struct to dict #22

Open
@abemedia

Description

@abemedia

It would be great to have a helper function that converts a go struct or map to a Python dict.

As a matter of fact it would also be really useful to be able to convert other types, for example a function like ToPyObject which takes an interface and using reflection builds the relevant Python type.

A FromPyObject doing the reverse would be ideal too.

This would massively simplify interaction between Python and Go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions