go-python / go-python/gpython

Instance variables

オープン
#196 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
1k
フォーク
105
PR マージ指標
30日以内にマージされた PR はありません

説明

Is there a way to access instance variables from Python.

For example, say I have go struct:

```go
type Point struct {
X int
Y int
}
```

Is there a way to access struct members in python:

```python
print(point.X)

# or
print(point.x)
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。