Fix Go example in Go.html
Missing "func" keyword.
This commit is contained in:
parent
7e40e523c3
commit
fee8f022e2
1 changed files with 1 additions and 1 deletions
|
|
@ -445,7 +445,7 @@ type MyClass interface {
|
|||
MyMethod() int
|
||||
}
|
||||
|
||||
MyClassMyFactoryFunction() MyClass {
|
||||
func MyClassMyFactoryFunction() MyClass {
|
||||
// swig magic here
|
||||
}
|
||||
</pre>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue