File tree Expand file tree Collapse file tree 9 files changed +19
-19
lines changed Expand file tree Collapse file tree 9 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 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].
Original file line number Diff line number Diff line change 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
1313func TestLogLevelMapping (t * testing.T ) {
Original file line number Diff line number Diff line change 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
1616var _ http.ResponseWriter = (* ResponseOutparamWriter )(nil )
Original file line number Diff line number Diff 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].
Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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].
Original file line number Diff line number Diff line change 11package 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
Original file line number Diff line number Diff line change 11package wasmcloud
22
3- import "go.wasmcloud.dev/component/gen/wasmcloud/bus/lattice"
3+ import "go.wasmcloud.dev/component/internal/ gen/wasmcloud/bus/lattice"
44
55const DefaultLinkName = "default"
66
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ package wasmcloud
33import (
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
You can’t perform that action at this time.
0 commit comments