Skip to content

Instance variables #196

Open
Open
@wilbertom

Description

@wilbertom

Is there a way to access instance variables from Python.

For example, say I have go struct:

type Point struct {
        X int
        Y int
}

Is there a way to access struct members in python:

print(point.X)

# or
print(point.x)

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