summaryrefslogtreecommitdiff
path: root/Doc/Manual/Go.html
diff options
context:
space:
mode:
authorSameer Ajmani <sameer@golang.org>2015-10-09 17:01:37 -0400
committerSameer Ajmani <sameer@golang.org>2015-10-09 17:01:37 -0400
commitfee8f022e2f830166937bf4a2d112ef12d69a7eb (patch)
tree5834a1eb6e3217775388f3b13bba819983e08393 /Doc/Manual/Go.html
parent7e40e523c3bce31e2dd1a0234fd36c64585c2d47 (diff)
downloadswig-fee8f022e2f830166937bf4a2d112ef12d69a7eb.tar.gz
Fix Go example in Go.html
Missing "func" keyword.
Diffstat (limited to 'Doc/Manual/Go.html')
-rw-r--r--Doc/Manual/Go.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/Manual/Go.html b/Doc/Manual/Go.html
index f5463c8f0..7a411750b 100644
--- a/Doc/Manual/Go.html
+++ b/Doc/Manual/Go.html
@@ -445,7 +445,7 @@ type MyClass interface {
MyMethod() int
}
-MyClassMyFactoryFunction() MyClass {
+func MyClassMyFactoryFunction() MyClass {
// swig magic here
}
</pre>