go-python / go-python/gopy

Fix support for Go functions as things Python can point to, pass around

オープン
#233 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
2.3k
フォーク
136
平均マージ
14分
マージ済み PR(30日)
2

説明

Currently, you can pass a Python function back to Go functions that take function args, but it should be possible to also be able to support passing actual Go functions too.

relevant code is in bind/symbols.go, addSignatureType -- this builds code to call a python function -- somehow needs to check actual type of arg and if a Go function, try calling it..

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

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

評価

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

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

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