ci: adds Go 1.19.0-rc.2 into matrix (#714)

This adds the 1.19.0-rc2. in the testing matrix.

This also formats the Godocs across the codebase, as
Go 1.19 has started auto-formatting Godoc. https://github.com/tetratelabs/wazero/issues/426

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
Takeshi Yoneda
2022-07-25 11:14:00 +09:00
committed by GitHub
parent 1689fc1bbf
commit ed068597cd
58 changed files with 626 additions and 489 deletions

View File

@@ -38,12 +38,12 @@ import (
//
// Notes
//
// * ModuleBuilder is mutable: each method returns the same instance for
// chaining.
// * methods do not return errors, to allow chaining. Any validation errors
// are deferred until Compile.
// * Insertion order is not retained. Anything defined by this builder is
// sorted lexicographically on Compile.
// - ModuleBuilder is mutable: each method returns the same instance for
// chaining.
// - methods do not return errors, to allow chaining. Any validation errors
// are deferred until Compile.
// - Insertion order is not retained. Anything defined by this builder is
// sorted lexicographically on Compile.
type ModuleBuilder interface {
// Note: until golang/go#5860, we can't use example tests to embed code in interface godocs.