Skip to content

danhitchcock/go_python_struct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

go_python_struct

An example to generate complex structs in Go / cgo and return them to Python using CTypes

  1. Clone the repo

git clone https://github.com/danhitchcock/go_python_struct.git

  1. CD to the directory

cd go_python_struct

  1. Build and run

go build -o MixedStruct.so -buildmode=c-shared MixedStruct.go && python MixedStruct.py

About

An example to generate complex structs from Go and return them to Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published