Skip to content

Commit d30d887

Browse files
committed
remove doc hacks that are no longer needed
These were causing `go vet` to fail.
1 parent eb38ab6 commit d30d887

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

hypervisor/example_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ import (
2323
"github.com/digitalocean/go-qemu/qmp/qmptest"
2424
)
2525

26-
// ExampleStub exists to prevent godoc from treating this as a "whole-file"
27-
// example, and showing the code for the unexported types.
28-
func ExampleStub() {}
29-
3026
func ExampleNew() {
3127
// Create a hypervisor.Hypervisor using an in-memory hypervisor.Driver,
3228
// that returns a fixed list of three domains.

qemu/example_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ import (
2323
"github.com/digitalocean/go-qemu/qmp/qmptest"
2424
)
2525

26-
// ExampleStub exists to prevent godoc from treating this as a "whole-file"
27-
// example, and showing the code for the unexported exampleMonitor type.
28-
func ExampleStub() {}
29-
3026
// This example demonstrates how to use qemu.NewDomain with a qmp.Monitor to
3127
// perform actions on a Domain.
3228
//

0 commit comments

Comments
 (0)