Skip to content

Commit

Permalink
Merge #31
Browse files Browse the repository at this point in the history
31: doc(example) Fix example namespaces for `godoc` r=Hywan a=Hywan

`godoc` needs the `_test` prefix to match the examples to the `wasmer` namespace.

Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
  • Loading branch information
bors[bot] and Hywan committed Jun 5, 2019
2 parents 8fe4352 + c19a1ac commit 2dabb45
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion wasmer/test/example_greet_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wasmertest
package wasmer_test

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion wasmer/test/example_import_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wasmertest
package wasmer_test

// // 1️⃣ Declare the `sum` function signature (see [cgo](https://golang.org/cmd/cgo/)).
//
Expand Down
2 changes: 1 addition & 1 deletion wasmer/test/example_memory_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wasmertest
package wasmer_test

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion wasmer/test/example_simple_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wasmertest
package wasmer_test

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion wasmer/test/example_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wasmertest
package wasmer_test

import (
"fmt"
Expand Down

0 comments on commit 2dabb45

Please sign in to comment.