fix(mod): align module declaration with git URL
This commit is contained in:
parent
25ec63d350
commit
90b13eb5ee
8 changed files with 20 additions and 13 deletions
|
@ -1,11 +1,13 @@
|
|||
package sdk
|
||||
|
||||
import (
|
||||
"code.icb4dc0.de/buildr/wasi-module-sdk/internal/mem"
|
||||
rpcv1 "code.icb4dc0.de/buildr/wasi-module-sdk/protocol/generated/rpc/v1"
|
||||
"context"
|
||||
|
||||
"github.com/mailru/easyjson"
|
||||
_ "github.com/tetratelabs/tinymem"
|
||||
|
||||
"code.icb4dc0.de/buildr/wasi-module-sdk/mem"
|
||||
rpcv1 "code.icb4dc0.de/buildr/wasi-module-sdk/protocol/generated/rpc/v1"
|
||||
)
|
||||
|
||||
var defaultRegistry = NewTypeRegistry()
|
||||
|
|
|
@ -3,7 +3,7 @@ module hello_world
|
|||
go 1.20
|
||||
|
||||
require (
|
||||
code.icb4dc0.de/buildr/wasi-module-sdk v0.0.0-00010101000000-000000000000
|
||||
code.icb4dc0.de/buildr/wasi-module-sdk-go v0.0.0-00010101000000-000000000000
|
||||
code.icb4dc0.de/buildr/wasi-module-sdk/integration v0.0.0-00010101000000-000000000000
|
||||
github.com/mailru/easyjson v0.7.7
|
||||
golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module code.icb4dc0.de/buildr/wasi-module-sdk
|
||||
module code.icb4dc0.de/buildr/wasi-module-sdk-go
|
||||
|
||||
go 1.20
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
module code.icb4dc0.de/buildr/wasi-module-sdk/integration
|
||||
module code.icb4dc0.de/buildr/wasi-module-sdk-go/integration
|
||||
|
||||
go 1.20
|
||||
|
||||
require (
|
||||
code.icb4dc0.de/buildr/wasi-module-sdk v0.0.0-00010101000000-000000000000
|
||||
code.icb4dc0.de/buildr/wasi-module-sdk-go v0.0.0-00010101000000-000000000000
|
||||
github.com/google/uuid v1.3.0
|
||||
github.com/tetratelabs/wazero v1.1.0
|
||||
golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package integration
|
||||
|
||||
import (
|
||||
"code.icb4dc0.de/buildr/wasi-module-sdk/internal/mem"
|
||||
"context"
|
||||
"crypto/md5"
|
||||
"errors"
|
||||
|
@ -9,13 +8,16 @@ import (
|
|||
"os"
|
||||
"time"
|
||||
|
||||
sdk "code.icb4dc0.de/buildr/wasi-module-sdk"
|
||||
rpcv1 "code.icb4dc0.de/buildr/wasi-module-sdk/protocol/generated/rpc/v1"
|
||||
"code.icb4dc0.de/buildr/wasi-module-sdk/mem"
|
||||
|
||||
"github.com/google/uuid"
|
||||
"github.com/tetratelabs/wazero"
|
||||
"github.com/tetratelabs/wazero/api"
|
||||
"github.com/tetratelabs/wazero/imports/wasi_snapshot_preview1"
|
||||
"golang.org/x/exp/slog"
|
||||
|
||||
sdk "code.icb4dc0.de/buildr/wasi-module-sdk"
|
||||
rpcv1 "code.icb4dc0.de/buildr/wasi-module-sdk/protocol/generated/rpc/v1"
|
||||
)
|
||||
|
||||
func StateKey(cat sdk.Category, modName, key string) string {
|
||||
|
|
|
@ -4,10 +4,12 @@ package sdk
|
|||
import "C"
|
||||
|
||||
import (
|
||||
"code.icb4dc0.de/buildr/wasi-module-sdk/internal/mem"
|
||||
rpcv1 "code.icb4dc0.de/buildr/wasi-module-sdk/protocol/generated/rpc/v1"
|
||||
"context"
|
||||
|
||||
"golang.org/x/exp/slog"
|
||||
|
||||
"code.icb4dc0.de/buildr/wasi-module-sdk/mem"
|
||||
rpcv1 "code.icb4dc0.de/buildr/wasi-module-sdk/protocol/generated/rpc/v1"
|
||||
)
|
||||
|
||||
var _ slog.Handler = (*WASIHandler)(nil)
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
package sdk
|
||||
|
||||
import (
|
||||
"code.icb4dc0.de/buildr/wasi-module-sdk/internal/mem"
|
||||
rpcv1 "code.icb4dc0.de/buildr/wasi-module-sdk/protocol/generated/rpc/v1"
|
||||
"errors"
|
||||
|
||||
"code.icb4dc0.de/buildr/wasi-module-sdk/mem"
|
||||
rpcv1 "code.icb4dc0.de/buildr/wasi-module-sdk/protocol/generated/rpc/v1"
|
||||
)
|
||||
|
||||
type StateProxy struct {
|
||||
|
|
Loading…
Reference in a new issue