Skip to content

Commit

Permalink
Run gofmt on hand written Go code.
Browse files Browse the repository at this point in the history
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
  • Loading branch information
Ian Lance Taylor committed Aug 22, 2011
1 parent 932f47a commit e82f320
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion Examples/go/extend/runme.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion Examples/test-suite/go/director_basic_runme.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ func f3() {
p2.Vmethod(bc)
}


func main() {
f1()
f2()
Expand Down
1 change: 0 additions & 1 deletion Examples/test-suite/go/overload_template_fast_runme.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ func main() {
panic("overload(const char *)")
}


// everything put in a namespace
if Nsoverload("hi") != 1000 {
panic("nsoverload()")
Expand Down
2 changes: 0 additions & 2 deletions Examples/test-suite/go/overload_template_runme.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ func main() {
panic("specialization(const char *, const char *)")
}


// simple specialization
Xyz()
Xyz_int()
Expand Down Expand Up @@ -144,7 +143,6 @@ func main() {
panic("overload(const char *)")
}


// everything put in a namespace
if Nsoverload("hi") != 1000 {
panic("nsoverload()")
Expand Down
1 change: 0 additions & 1 deletion Examples/test-suite/go/template_default_arg_runme.go
Original file line number Diff line number Diff line change
Expand Up @@ -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>)
Expand Down
1 change: 0 additions & 1 deletion Examples/test-suite/go/virtual_poly_runme.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ func main() {
panic(0)
}


// 'narrowing' also works
ddc := virtual_poly.NDoubleNarrow(d.Nnumber())
if d.Get() != ddc.Get() {
Expand Down

0 comments on commit e82f320

Please sign in to comment.