SWIG/Examples/go/director/
How to subclass a C++ class with a Go type
See the Go Director
Classes documentation subsection for an explanation of this example.
- director.go.  Go source with the definition of the FooBarGo class.
- director.h.  Header with the definition of the FooBarAbstract and FooBarCpp classes.
- example.i.  SWIG interface file.
- runme.go. Sample Go program.