Skip to content

Commit 9922923

Browse files
committed
update local implementations
Signed-off-by: Lucas Fontes <[email protected]>
1 parent 1c3c363 commit 9922923

File tree

9 files changed

+19
-19
lines changed

9 files changed

+19
-19
lines changed

component/log/wasilog/slog.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"strings"
88

99
slogcommon "github.com/samber/slog-common"
10-
"go.wasmcloud.dev/component/gen/wasi/logging/logging"
10+
"go.wasmcloud.dev/component/internal/gen/wasi/logging/logging"
1111
)
1212

1313
// DefaultLogger is the default implementation that adapts the [wasi:logging] interface to a [slog.Handler].

component/log/wasilog/slog_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"testing"
88
_ "unsafe"
99

10-
"go.wasmcloud.dev/component/gen/wasi/logging/logging"
10+
"go.wasmcloud.dev/component/internal/gen/wasi/logging/logging"
1111
)
1212

1313
func TestLogLevelMapping(t *testing.T) {

component/net/wasihttp/adapter.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"net/http"
99
"sync"
1010

11-
"go.bytecodealliance.org/cm"
12-
"go.wasmcloud.dev/component/gen/wasi/http/types"
13-
"go.wasmcloud.dev/component/gen/wasi/io/streams"
11+
"go.wasmcloud.dev/component/cm"
12+
"go.wasmcloud.dev/component/internal/gen/wasi/http/types"
13+
"go.wasmcloud.dev/component/internal/gen/wasi/io/streams"
1414
)
1515

1616
var _ http.ResponseWriter = (*ResponseOutparamWriter)(nil)

component/net/wasihttp/roundtripper.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import (
77
"runtime"
88
"time"
99

10-
"go.bytecodealliance.org/cm"
11-
monotonicclock "go.wasmcloud.dev/component/gen/wasi/clocks/monotonic-clock"
12-
outgoinghandler "go.wasmcloud.dev/component/gen/wasi/http/outgoing-handler"
13-
"go.wasmcloud.dev/component/gen/wasi/http/types"
10+
"go.wasmcloud.dev/component/cm"
11+
monotonicclock "go.wasmcloud.dev/component/internal/gen/wasi/clocks/monotonic-clock"
12+
outgoinghandler "go.wasmcloud.dev/component/internal/gen/wasi/http/outgoing-handler"
13+
"go.wasmcloud.dev/component/internal/gen/wasi/http/types"
1414
)
1515

1616
// Transport implements [http.RoundTripper] for [wasi:http].

component/net/wasihttp/server.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"net/http"
66
"os"
77

8-
"go.bytecodealliance.org/cm"
9-
incominghandler "go.wasmcloud.dev/component/gen/wasi/http/incoming-handler"
10-
"go.wasmcloud.dev/component/gen/wasi/http/types"
8+
"go.wasmcloud.dev/component/cm"
9+
incominghandler "go.wasmcloud.dev/component/internal/gen/wasi/http/incoming-handler"
10+
"go.wasmcloud.dev/component/internal/gen/wasi/http/types"
1111
)
1212

1313
// handler is the function that will be called by the http server.

component/net/wasihttp/streams.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"runtime"
99
"sync"
1010

11-
"go.bytecodealliance.org/cm"
12-
"go.wasmcloud.dev/component/gen/wasi/http/types"
13-
"go.wasmcloud.dev/component/gen/wasi/io/streams"
11+
"go.wasmcloud.dev/component/cm"
12+
"go.wasmcloud.dev/component/internal/gen/wasi/http/types"
13+
"go.wasmcloud.dev/component/internal/gen/wasi/io/streams"
1414
)
1515

1616
// BodyConsumer interface is implemented by [types.IncomingRequest] and [types.IncomingResponse].

component/wasmcloud/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package wasmcloud
22

3-
import "go.wasmcloud.dev/component/gen/wasi/config/runtime"
3+
import "go.wasmcloud.dev/component/internal/gen/wasi/config/runtime"
44

55
// GetConfigOrDefault tries to get a configuration value by provided key using
66
// [wasi:config/store.get] and falling back to the provided defaultValue if a

component/wasmcloud/link.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package wasmcloud
22

3-
import "go.wasmcloud.dev/component/gen/wasmcloud/bus/lattice"
3+
import "go.wasmcloud.dev/component/internal/gen/wasmcloud/bus/lattice"
44

55
const DefaultLinkName = "default"
66

component/wasmcloud/secret.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package wasmcloud
33
import (
44
"fmt"
55

6-
"go.wasmcloud.dev/component/gen/wasmcloud/secrets/reveal"
7-
"go.wasmcloud.dev/component/gen/wasmcloud/secrets/store"
6+
"go.wasmcloud.dev/component/internal/gen/wasmcloud/secrets/reveal"
7+
"go.wasmcloud.dev/component/internal/gen/wasmcloud/secrets/store"
88
)
99

1010
// SecretGetAndReveal attempts to access a secret identified by the provided key

0 commit comments

Comments
 (0)