Run gofmt on hand written Go code.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Ian Lance Taylor 2011-08-22 20:04:06 +00:00
commit e82f320510
6 changed files with 0 additions and 7 deletions

View file

@ -24,7 +24,6 @@ func main() {
fmt.Println("Just call her \"", e.GetTitle(), "\"")
fmt.Println("----------------------")
// Create a new EmployeeList instance. This class does not
// have a C++ director wrapper, but can be used freely with
// other classes that do.

View file

@ -107,7 +107,6 @@ func f3() {
p2.Vmethod(bc)
}
func main() {
f1()
f2()

View file

@ -143,7 +143,6 @@ func main() {
panic("overload(const char *)")
}
// everything put in a namespace
if Nsoverload("hi") != 1000 {
panic("nsoverload()")

View file

@ -100,7 +100,6 @@ func main() {
panic("specialization(const char *, const char *)")
}
// simple specialization
Xyz()
Xyz_int()
@ -144,7 +143,6 @@ func main() {
panic("overload(const char *)")
}
// everything put in a namespace
if Nsoverload("hi") != 1000 {
panic("nsoverload()")

View file

@ -49,7 +49,6 @@ func main() {
xz := template_default_arg.NewX_Foo_Z_8()
_ = xz.Meth(fz)
// Templated functions
// plain function: int ott(Foo<int>)

View file

@ -29,7 +29,6 @@ func main() {
panic(0)
}
// 'narrowing' also works
ddc := virtual_poly.NDoubleNarrow(d.Nnumber())
if d.Get() != ddc.Get() {