From cb3739a77bd32e4c31c10fa29dd450fa34602aec Mon Sep 17 00:00:00 2001 From: Rajat Jindal Date: Tue, 10 Sep 2024 06:41:21 +0530 Subject: [PATCH] use wasm-tools-go from bytecodealliance repo Signed-off-by: Rajat Jindal --- v2/examples/http/go.mod | 2 +- v2/examples/http/go.sum | 4 ++-- v2/go.mod | 2 +- v2/go.sum | 4 ++-- v2/http/client.go | 2 +- v2/http/convertor_incoming_request.go | 2 +- v2/http/convertor_outgoing_request.go | 2 +- v2/http/convertor_outgoing_response.go | 2 +- v2/http/http.go | 2 +- v2/internal/fermyon/spin/config/config.wit.go | 2 +- v2/internal/fermyon/spin/http-types/http-types.wit.go | 2 +- v2/internal/fermyon/spin/http/abi.go | 2 +- v2/internal/fermyon/spin/http/http.wit.go | 2 +- v2/internal/fermyon/spin/inbound-http/abi.go | 2 +- v2/internal/fermyon/spin/key-value/key-value.wit.go | 2 +- v2/internal/fermyon/spin/llm/abi.go | 2 +- v2/internal/fermyon/spin/llm/llm.wit.go | 2 +- v2/internal/fermyon/spin/mysql/mysql.wit.go | 2 +- v2/internal/fermyon/spin/postgres/postgres.wit.go | 2 +- v2/internal/fermyon/spin/rdbms-types/rdbms-types.wit.go | 2 +- v2/internal/fermyon/spin/redis-types/redis-types.wit.go | 2 +- v2/internal/fermyon/spin/redis/redis.wit.go | 2 +- v2/internal/fermyon/spin/sqlite/sqlite.wit.go | 2 +- v2/internal/fermyon/spin/v2.0.0/key-value/abi.go | 2 +- v2/internal/fermyon/spin/v2.0.0/key-value/key-value.wit.go | 2 +- v2/internal/fermyon/spin/v2.0.0/llm/abi.go | 2 +- v2/internal/fermyon/spin/v2.0.0/llm/llm.wit.go | 2 +- v2/internal/fermyon/spin/v2.0.0/mqtt/mqtt.wit.go | 2 +- v2/internal/fermyon/spin/v2.0.0/mysql/mysql.wit.go | 2 +- v2/internal/fermyon/spin/v2.0.0/postgres/postgres.wit.go | 2 +- .../fermyon/spin/v2.0.0/rdbms-types/rdbms-types.wit.go | 2 +- v2/internal/fermyon/spin/v2.0.0/redis/abi.go | 2 +- v2/internal/fermyon/spin/v2.0.0/redis/redis.wit.go | 2 +- v2/internal/fermyon/spin/v2.0.0/sqlite/sqlite.wit.go | 2 +- v2/internal/fermyon/spin/v2.0.0/variables/variables.wit.go | 2 +- v2/internal/wasi/cli/v0.2.0/environment/environment.wit.go | 2 +- v2/internal/wasi/cli/v0.2.0/exit/exit.wit.go | 2 +- v2/internal/wasi/cli/v0.2.0/stderr/stderr.wit.go | 2 +- v2/internal/wasi/cli/v0.2.0/stdin/stdin.wit.go | 2 +- v2/internal/wasi/cli/v0.2.0/stdout/stdout.wit.go | 2 +- .../wasi/cli/v0.2.0/terminal-input/terminal-input.wit.go | 2 +- .../wasi/cli/v0.2.0/terminal-output/terminal-output.wit.go | 2 +- .../wasi/cli/v0.2.0/terminal-stderr/terminal-stderr.wit.go | 2 +- .../wasi/cli/v0.2.0/terminal-stdin/terminal-stdin.wit.go | 2 +- .../wasi/cli/v0.2.0/terminal-stdout/terminal-stdout.wit.go | 2 +- .../wasi/clocks/v0.2.0/monotonic-clock/monotonic-clock.wit.go | 2 +- v2/internal/wasi/filesystem/v0.2.0/preopens/preopens.wit.go | 2 +- v2/internal/wasi/filesystem/v0.2.0/types/abi.go | 2 +- v2/internal/wasi/filesystem/v0.2.0/types/types.wit.go | 2 +- .../wasi/http/v0.2.0/incoming-handler/incoming-handler.wit.go | 2 +- v2/internal/wasi/http/v0.2.0/outgoing-handler/abi.go | 2 +- .../wasi/http/v0.2.0/outgoing-handler/outgoing-handler.wit.go | 2 +- v2/internal/wasi/http/v0.2.0/types/abi.go | 2 +- v2/internal/wasi/http/v0.2.0/types/types.wit.go | 2 +- v2/internal/wasi/io/v0.2.0/error/error.wit.go | 2 +- v2/internal/wasi/io/v0.2.0/poll/poll.wit.go | 2 +- v2/internal/wasi/io/v0.2.0/streams/streams.wit.go | 2 +- v2/internal/wasi/random/v0.2.0/insecure/insecure.wit.go | 2 +- v2/internal/wasi/random/v0.2.0/random/random.wit.go | 2 +- .../sockets/v0.2.0/instance-network/instance-network.wit.go | 2 +- v2/internal/wasi/sockets/v0.2.0/ip-name-lookup/abi.go | 2 +- .../wasi/sockets/v0.2.0/ip-name-lookup/ip-name-lookup.wit.go | 2 +- v2/internal/wasi/sockets/v0.2.0/network/network.wit.go | 2 +- .../sockets/v0.2.0/tcp-create-socket/tcp-create-socket.wit.go | 2 +- v2/internal/wasi/sockets/v0.2.0/tcp/abi.go | 2 +- v2/internal/wasi/sockets/v0.2.0/tcp/tcp.wit.go | 2 +- .../sockets/v0.2.0/udp-create-socket/udp-create-socket.wit.go | 2 +- v2/internal/wasi/sockets/v0.2.0/udp/abi.go | 2 +- v2/internal/wasi/sockets/v0.2.0/udp/udp.wit.go | 2 +- 69 files changed, 71 insertions(+), 71 deletions(-) diff --git a/v2/examples/http/go.mod b/v2/examples/http/go.mod index a9d959b..363619d 100644 --- a/v2/examples/http/go.mod +++ b/v2/examples/http/go.mod @@ -5,8 +5,8 @@ go 1.22.6 require github.com/fermyon/spin-go-sdk/v2 v2.0.0 require ( + github.com/bytecodealliance/wasm-tools-go v0.2.0 // indirect github.com/julienschmidt/httprouter v1.3.0 // indirect - github.com/ydnar/wasm-tools-go v0.1.5 // indirect ) replace github.com/fermyon/spin-go-sdk/v2 => ../../ diff --git a/v2/examples/http/go.sum b/v2/examples/http/go.sum index a445b61..6c36048 100644 --- a/v2/examples/http/go.sum +++ b/v2/examples/http/go.sum @@ -1,4 +1,4 @@ +github.com/bytecodealliance/wasm-tools-go v0.2.0 h1:JdmiZew7ewHjf+ZGGRE4gZM85Ad/PGW/5I57hepEOjQ= +github.com/bytecodealliance/wasm-tools-go v0.2.0/go.mod h1:2GnJCUlcDrslZ/L6+yYqoUnewDlBvqRS2N/0NW9ro6w= github.com/julienschmidt/httprouter v1.3.0 h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/ydnar/wasm-tools-go v0.1.5 h1:ah2WT4gH0IrmN29ZSsjgNC9SPsdXZ+KN+o9uTZqNVSI= -github.com/ydnar/wasm-tools-go v0.1.5/go.mod h1:L3sDi5rbAMJNmMO5cpDRzYYhB0r9xIU0xgpKjwU0Adg= diff --git a/v2/go.mod b/v2/go.mod index b859d85..130cfb4 100644 --- a/v2/go.mod +++ b/v2/go.mod @@ -3,6 +3,6 @@ module github.com/fermyon/spin-go-sdk/v2 go 1.22.6 require ( + github.com/bytecodealliance/wasm-tools-go v0.2.0 github.com/julienschmidt/httprouter v1.3.0 - github.com/ydnar/wasm-tools-go v0.1.5 ) diff --git a/v2/go.sum b/v2/go.sum index a445b61..6c36048 100644 --- a/v2/go.sum +++ b/v2/go.sum @@ -1,4 +1,4 @@ +github.com/bytecodealliance/wasm-tools-go v0.2.0 h1:JdmiZew7ewHjf+ZGGRE4gZM85Ad/PGW/5I57hepEOjQ= +github.com/bytecodealliance/wasm-tools-go v0.2.0/go.mod h1:2GnJCUlcDrslZ/L6+yYqoUnewDlBvqRS2N/0NW9ro6w= github.com/julienschmidt/httprouter v1.3.0 h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/ydnar/wasm-tools-go v0.1.5 h1:ah2WT4gH0IrmN29ZSsjgNC9SPsdXZ+KN+o9uTZqNVSI= -github.com/ydnar/wasm-tools-go v0.1.5/go.mod h1:L3sDi5rbAMJNmMO5cpDRzYYhB0r9xIU0xgpKjwU0Adg= diff --git a/v2/http/client.go b/v2/http/client.go index f041d5d..d16ad7e 100644 --- a/v2/http/client.go +++ b/v2/http/client.go @@ -5,9 +5,9 @@ import ( "io" "net/http" + "github.com/bytecodealliance/wasm-tools-go/cm" outgoinghandler "github.com/fermyon/spin-go-sdk/v2/internal/wasi/http/v0.2.0/outgoing-handler" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/http/v0.2.0/types" - "github.com/ydnar/wasm-tools-go/cm" ) // NewTransport returns http.RoundTripper backed by Spin SDK diff --git a/v2/http/convertor_incoming_request.go b/v2/http/convertor_incoming_request.go index f682cee..53d0c00 100644 --- a/v2/http/convertor_incoming_request.go +++ b/v2/http/convertor_incoming_request.go @@ -5,8 +5,8 @@ import ( "io" "net/http" + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/http/v0.2.0/types" - "github.com/ydnar/wasm-tools-go/cm" ) type IncomingRequest = types.IncomingRequest diff --git a/v2/http/convertor_outgoing_request.go b/v2/http/convertor_outgoing_request.go index 50ffb75..afe494e 100644 --- a/v2/http/convertor_outgoing_request.go +++ b/v2/http/convertor_outgoing_request.go @@ -3,8 +3,8 @@ package http import ( "net/http" + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/http/v0.2.0/types" - "github.com/ydnar/wasm-tools-go/cm" ) // convert the IncomingRequest to http.Request diff --git a/v2/http/convertor_outgoing_response.go b/v2/http/convertor_outgoing_response.go index 2301706..36678d8 100644 --- a/v2/http/convertor_outgoing_response.go +++ b/v2/http/convertor_outgoing_response.go @@ -5,9 +5,9 @@ import ( "net/http" "strings" + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/http/v0.2.0/types" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/streams" - "github.com/ydnar/wasm-tools-go/cm" ) var _ http.ResponseWriter = &responseOutparamWriter{} diff --git a/v2/http/http.go b/v2/http/http.go index a34fa24..b57f7a7 100644 --- a/v2/http/http.go +++ b/v2/http/http.go @@ -7,11 +7,11 @@ import ( "net/http" "os" + "github.com/bytecodealliance/wasm-tools-go/cm" incominghandler "github.com/fermyon/spin-go-sdk/v2/internal/wasi/http/v0.2.0/incoming-handler" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/http/v0.2.0/types" "github.com/fermyon/spin-go-sdk/v2/wit" "github.com/julienschmidt/httprouter" - "github.com/ydnar/wasm-tools-go/cm" ) // force wit files to be shipped with sdk dependency diff --git a/v2/internal/fermyon/spin/config/config.wit.go b/v2/internal/fermyon/spin/config/config.wit.go index 063d142..99979b3 100644 --- a/v2/internal/fermyon/spin/config/config.wit.go +++ b/v2/internal/fermyon/spin/config/config.wit.go @@ -4,7 +4,7 @@ package config import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // Error represents the variant "fermyon:spin/config#error". diff --git a/v2/internal/fermyon/spin/http-types/http-types.wit.go b/v2/internal/fermyon/spin/http-types/http-types.wit.go index fe11ccc..500b6d1 100644 --- a/v2/internal/fermyon/spin/http-types/http-types.wit.go +++ b/v2/internal/fermyon/spin/http-types/http-types.wit.go @@ -4,7 +4,7 @@ package httptypes import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // HTTPStatus represents the u16 "fermyon:spin/http-types#http-status". diff --git a/v2/internal/fermyon/spin/http/abi.go b/v2/internal/fermyon/spin/http/abi.go index 896811c..863023f 100644 --- a/v2/internal/fermyon/spin/http/abi.go +++ b/v2/internal/fermyon/spin/http/abi.go @@ -3,8 +3,8 @@ package http import ( + "github.com/bytecodealliance/wasm-tools-go/cm" httptypes "github.com/fermyon/spin-go-sdk/v2/internal/fermyon/spin/http-types" - "github.com/ydnar/wasm-tools-go/cm" "unsafe" ) diff --git a/v2/internal/fermyon/spin/http/http.wit.go b/v2/internal/fermyon/spin/http/http.wit.go index 46da5bd..80b0a83 100644 --- a/v2/internal/fermyon/spin/http/http.wit.go +++ b/v2/internal/fermyon/spin/http/http.wit.go @@ -4,8 +4,8 @@ package http import ( + "github.com/bytecodealliance/wasm-tools-go/cm" httptypes "github.com/fermyon/spin-go-sdk/v2/internal/fermyon/spin/http-types" - "github.com/ydnar/wasm-tools-go/cm" ) // SendRequest represents the imported function "send-request". diff --git a/v2/internal/fermyon/spin/inbound-http/abi.go b/v2/internal/fermyon/spin/inbound-http/abi.go index ecd701e..c29d6c0 100644 --- a/v2/internal/fermyon/spin/inbound-http/abi.go +++ b/v2/internal/fermyon/spin/inbound-http/abi.go @@ -3,8 +3,8 @@ package inboundhttp import ( + "github.com/bytecodealliance/wasm-tools-go/cm" httptypes "github.com/fermyon/spin-go-sdk/v2/internal/fermyon/spin/http-types" - "github.com/ydnar/wasm-tools-go/cm" ) func lift_OptionBody(f0 uint32, f1 *uint8, f2 uint32) (v cm.Option[httptypes.Body]) { diff --git a/v2/internal/fermyon/spin/key-value/key-value.wit.go b/v2/internal/fermyon/spin/key-value/key-value.wit.go index 5dc38a4..e7ebda0 100644 --- a/v2/internal/fermyon/spin/key-value/key-value.wit.go +++ b/v2/internal/fermyon/spin/key-value/key-value.wit.go @@ -4,7 +4,7 @@ package keyvalue import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // Store represents the u32 "fermyon:spin/key-value#store". diff --git a/v2/internal/fermyon/spin/llm/abi.go b/v2/internal/fermyon/spin/llm/abi.go index b75401b..2f54050 100644 --- a/v2/internal/fermyon/spin/llm/abi.go +++ b/v2/internal/fermyon/spin/llm/abi.go @@ -3,7 +3,7 @@ package llm import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" "unsafe" ) diff --git a/v2/internal/fermyon/spin/llm/llm.wit.go b/v2/internal/fermyon/spin/llm/llm.wit.go index 929e5c3..46f9e4c 100644 --- a/v2/internal/fermyon/spin/llm/llm.wit.go +++ b/v2/internal/fermyon/spin/llm/llm.wit.go @@ -6,7 +6,7 @@ package llm import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // InferencingModel represents the string "fermyon:spin/llm#inferencing-model". diff --git a/v2/internal/fermyon/spin/mysql/mysql.wit.go b/v2/internal/fermyon/spin/mysql/mysql.wit.go index 569fbee..e2dee05 100644 --- a/v2/internal/fermyon/spin/mysql/mysql.wit.go +++ b/v2/internal/fermyon/spin/mysql/mysql.wit.go @@ -4,8 +4,8 @@ package mysql import ( + "github.com/bytecodealliance/wasm-tools-go/cm" rdbmstypes "github.com/fermyon/spin-go-sdk/v2/internal/fermyon/spin/rdbms-types" - "github.com/ydnar/wasm-tools-go/cm" ) // MysqlError represents the variant "fermyon:spin/mysql#mysql-error". diff --git a/v2/internal/fermyon/spin/postgres/postgres.wit.go b/v2/internal/fermyon/spin/postgres/postgres.wit.go index 9f4c59a..506470b 100644 --- a/v2/internal/fermyon/spin/postgres/postgres.wit.go +++ b/v2/internal/fermyon/spin/postgres/postgres.wit.go @@ -4,8 +4,8 @@ package postgres import ( + "github.com/bytecodealliance/wasm-tools-go/cm" rdbmstypes "github.com/fermyon/spin-go-sdk/v2/internal/fermyon/spin/rdbms-types" - "github.com/ydnar/wasm-tools-go/cm" ) // PgError represents the variant "fermyon:spin/postgres#pg-error". diff --git a/v2/internal/fermyon/spin/rdbms-types/rdbms-types.wit.go b/v2/internal/fermyon/spin/rdbms-types/rdbms-types.wit.go index bdfb8da..a584658 100644 --- a/v2/internal/fermyon/spin/rdbms-types/rdbms-types.wit.go +++ b/v2/internal/fermyon/spin/rdbms-types/rdbms-types.wit.go @@ -4,7 +4,7 @@ package rdbmstypes import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // DbDataType represents the enum "fermyon:spin/rdbms-types#db-data-type". diff --git a/v2/internal/fermyon/spin/redis-types/redis-types.wit.go b/v2/internal/fermyon/spin/redis-types/redis-types.wit.go index f6e4dcd..bbad113 100644 --- a/v2/internal/fermyon/spin/redis-types/redis-types.wit.go +++ b/v2/internal/fermyon/spin/redis-types/redis-types.wit.go @@ -4,7 +4,7 @@ package redistypes import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // Error represents the enum "fermyon:spin/redis-types#error". diff --git a/v2/internal/fermyon/spin/redis/redis.wit.go b/v2/internal/fermyon/spin/redis/redis.wit.go index 5500293..1090bf5 100644 --- a/v2/internal/fermyon/spin/redis/redis.wit.go +++ b/v2/internal/fermyon/spin/redis/redis.wit.go @@ -4,8 +4,8 @@ package redis import ( + "github.com/bytecodealliance/wasm-tools-go/cm" redistypes "github.com/fermyon/spin-go-sdk/v2/internal/fermyon/spin/redis-types" - "github.com/ydnar/wasm-tools-go/cm" ) // Publish represents the imported function "publish". diff --git a/v2/internal/fermyon/spin/sqlite/sqlite.wit.go b/v2/internal/fermyon/spin/sqlite/sqlite.wit.go index 5a895cd..93da5d9 100644 --- a/v2/internal/fermyon/spin/sqlite/sqlite.wit.go +++ b/v2/internal/fermyon/spin/sqlite/sqlite.wit.go @@ -4,7 +4,7 @@ package sqlite import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // Connection represents the u32 "fermyon:spin/sqlite#connection". diff --git a/v2/internal/fermyon/spin/v2.0.0/key-value/abi.go b/v2/internal/fermyon/spin/v2.0.0/key-value/abi.go index 3b9d3d5..c3f28e4 100644 --- a/v2/internal/fermyon/spin/v2.0.0/key-value/abi.go +++ b/v2/internal/fermyon/spin/v2.0.0/key-value/abi.go @@ -3,7 +3,7 @@ package keyvalue import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" "unsafe" ) diff --git a/v2/internal/fermyon/spin/v2.0.0/key-value/key-value.wit.go b/v2/internal/fermyon/spin/v2.0.0/key-value/key-value.wit.go index 6b7b037..f38c71a 100644 --- a/v2/internal/fermyon/spin/v2.0.0/key-value/key-value.wit.go +++ b/v2/internal/fermyon/spin/v2.0.0/key-value/key-value.wit.go @@ -4,7 +4,7 @@ package keyvalue import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // Store represents the imported resource "fermyon:spin/key-value@2.0.0#store". diff --git a/v2/internal/fermyon/spin/v2.0.0/llm/abi.go b/v2/internal/fermyon/spin/v2.0.0/llm/abi.go index b75401b..2f54050 100644 --- a/v2/internal/fermyon/spin/v2.0.0/llm/abi.go +++ b/v2/internal/fermyon/spin/v2.0.0/llm/abi.go @@ -3,7 +3,7 @@ package llm import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" "unsafe" ) diff --git a/v2/internal/fermyon/spin/v2.0.0/llm/llm.wit.go b/v2/internal/fermyon/spin/v2.0.0/llm/llm.wit.go index 88bcb96..76eb6a4 100644 --- a/v2/internal/fermyon/spin/v2.0.0/llm/llm.wit.go +++ b/v2/internal/fermyon/spin/v2.0.0/llm/llm.wit.go @@ -6,7 +6,7 @@ package llm import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // InferencingModel represents the string "fermyon:spin/llm@2.0.0#inferencing-model". diff --git a/v2/internal/fermyon/spin/v2.0.0/mqtt/mqtt.wit.go b/v2/internal/fermyon/spin/v2.0.0/mqtt/mqtt.wit.go index 3409d31..9d4f8c5 100644 --- a/v2/internal/fermyon/spin/v2.0.0/mqtt/mqtt.wit.go +++ b/v2/internal/fermyon/spin/v2.0.0/mqtt/mqtt.wit.go @@ -4,7 +4,7 @@ package mqtt import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // Error represents the variant "fermyon:spin/mqtt@2.0.0#error". diff --git a/v2/internal/fermyon/spin/v2.0.0/mysql/mysql.wit.go b/v2/internal/fermyon/spin/v2.0.0/mysql/mysql.wit.go index cf7791d..49855dd 100644 --- a/v2/internal/fermyon/spin/v2.0.0/mysql/mysql.wit.go +++ b/v2/internal/fermyon/spin/v2.0.0/mysql/mysql.wit.go @@ -4,8 +4,8 @@ package mysql import ( + "github.com/bytecodealliance/wasm-tools-go/cm" rdbmstypes "github.com/fermyon/spin-go-sdk/v2/internal/fermyon/spin/v2.0.0/rdbms-types" - "github.com/ydnar/wasm-tools-go/cm" ) // Connection represents the imported resource "fermyon:spin/mysql@2.0.0#connection". diff --git a/v2/internal/fermyon/spin/v2.0.0/postgres/postgres.wit.go b/v2/internal/fermyon/spin/v2.0.0/postgres/postgres.wit.go index 19ae149..83ddb27 100644 --- a/v2/internal/fermyon/spin/v2.0.0/postgres/postgres.wit.go +++ b/v2/internal/fermyon/spin/v2.0.0/postgres/postgres.wit.go @@ -4,8 +4,8 @@ package postgres import ( + "github.com/bytecodealliance/wasm-tools-go/cm" rdbmstypes "github.com/fermyon/spin-go-sdk/v2/internal/fermyon/spin/v2.0.0/rdbms-types" - "github.com/ydnar/wasm-tools-go/cm" ) // Connection represents the imported resource "fermyon:spin/postgres@2.0.0#connection". diff --git a/v2/internal/fermyon/spin/v2.0.0/rdbms-types/rdbms-types.wit.go b/v2/internal/fermyon/spin/v2.0.0/rdbms-types/rdbms-types.wit.go index 7d37564..097db56 100644 --- a/v2/internal/fermyon/spin/v2.0.0/rdbms-types/rdbms-types.wit.go +++ b/v2/internal/fermyon/spin/v2.0.0/rdbms-types/rdbms-types.wit.go @@ -4,7 +4,7 @@ package rdbmstypes import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // Error represents the variant "fermyon:spin/rdbms-types@2.0.0#error". diff --git a/v2/internal/fermyon/spin/v2.0.0/redis/abi.go b/v2/internal/fermyon/spin/v2.0.0/redis/abi.go index 7bd36a5..a1c2b51 100644 --- a/v2/internal/fermyon/spin/v2.0.0/redis/abi.go +++ b/v2/internal/fermyon/spin/v2.0.0/redis/abi.go @@ -3,7 +3,7 @@ package redis import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" "unsafe" ) diff --git a/v2/internal/fermyon/spin/v2.0.0/redis/redis.wit.go b/v2/internal/fermyon/spin/v2.0.0/redis/redis.wit.go index a7d7cd6..9fc8aed 100644 --- a/v2/internal/fermyon/spin/v2.0.0/redis/redis.wit.go +++ b/v2/internal/fermyon/spin/v2.0.0/redis/redis.wit.go @@ -4,7 +4,7 @@ package redis import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // Error represents the variant "fermyon:spin/redis@2.0.0#error". diff --git a/v2/internal/fermyon/spin/v2.0.0/sqlite/sqlite.wit.go b/v2/internal/fermyon/spin/v2.0.0/sqlite/sqlite.wit.go index dd46721..f2eeb11 100644 --- a/v2/internal/fermyon/spin/v2.0.0/sqlite/sqlite.wit.go +++ b/v2/internal/fermyon/spin/v2.0.0/sqlite/sqlite.wit.go @@ -4,7 +4,7 @@ package sqlite import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // Connection represents the imported resource "fermyon:spin/sqlite@2.0.0#connection". diff --git a/v2/internal/fermyon/spin/v2.0.0/variables/variables.wit.go b/v2/internal/fermyon/spin/v2.0.0/variables/variables.wit.go index bb51cc5..d8524e2 100644 --- a/v2/internal/fermyon/spin/v2.0.0/variables/variables.wit.go +++ b/v2/internal/fermyon/spin/v2.0.0/variables/variables.wit.go @@ -4,7 +4,7 @@ package variables import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // Error represents the variant "fermyon:spin/variables@2.0.0#error". diff --git a/v2/internal/wasi/cli/v0.2.0/environment/environment.wit.go b/v2/internal/wasi/cli/v0.2.0/environment/environment.wit.go index a582bdf..48e066d 100644 --- a/v2/internal/wasi/cli/v0.2.0/environment/environment.wit.go +++ b/v2/internal/wasi/cli/v0.2.0/environment/environment.wit.go @@ -4,7 +4,7 @@ package environment import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // GetEnvironment represents the imported function "get-environment". diff --git a/v2/internal/wasi/cli/v0.2.0/exit/exit.wit.go b/v2/internal/wasi/cli/v0.2.0/exit/exit.wit.go index bf46d1b..3fccd93 100644 --- a/v2/internal/wasi/cli/v0.2.0/exit/exit.wit.go +++ b/v2/internal/wasi/cli/v0.2.0/exit/exit.wit.go @@ -4,7 +4,7 @@ package exit import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // Exit represents the imported function "exit". diff --git a/v2/internal/wasi/cli/v0.2.0/stderr/stderr.wit.go b/v2/internal/wasi/cli/v0.2.0/stderr/stderr.wit.go index 2fefd03..bf3e752 100644 --- a/v2/internal/wasi/cli/v0.2.0/stderr/stderr.wit.go +++ b/v2/internal/wasi/cli/v0.2.0/stderr/stderr.wit.go @@ -4,8 +4,8 @@ package stderr import ( + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/streams" - "github.com/ydnar/wasm-tools-go/cm" ) // GetStderr represents the imported function "get-stderr". diff --git a/v2/internal/wasi/cli/v0.2.0/stdin/stdin.wit.go b/v2/internal/wasi/cli/v0.2.0/stdin/stdin.wit.go index 532179a..fa94f9a 100644 --- a/v2/internal/wasi/cli/v0.2.0/stdin/stdin.wit.go +++ b/v2/internal/wasi/cli/v0.2.0/stdin/stdin.wit.go @@ -4,8 +4,8 @@ package stdin import ( + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/streams" - "github.com/ydnar/wasm-tools-go/cm" ) // GetStdin represents the imported function "get-stdin". diff --git a/v2/internal/wasi/cli/v0.2.0/stdout/stdout.wit.go b/v2/internal/wasi/cli/v0.2.0/stdout/stdout.wit.go index d2a4ef5..ae711bb 100644 --- a/v2/internal/wasi/cli/v0.2.0/stdout/stdout.wit.go +++ b/v2/internal/wasi/cli/v0.2.0/stdout/stdout.wit.go @@ -4,8 +4,8 @@ package stdout import ( + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/streams" - "github.com/ydnar/wasm-tools-go/cm" ) // GetStdout represents the imported function "get-stdout". diff --git a/v2/internal/wasi/cli/v0.2.0/terminal-input/terminal-input.wit.go b/v2/internal/wasi/cli/v0.2.0/terminal-input/terminal-input.wit.go index 9dca7df..e0114e0 100644 --- a/v2/internal/wasi/cli/v0.2.0/terminal-input/terminal-input.wit.go +++ b/v2/internal/wasi/cli/v0.2.0/terminal-input/terminal-input.wit.go @@ -10,7 +10,7 @@ package terminalinput import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // TerminalInput represents the imported resource "wasi:cli/terminal-input@0.2.0#terminal-input". diff --git a/v2/internal/wasi/cli/v0.2.0/terminal-output/terminal-output.wit.go b/v2/internal/wasi/cli/v0.2.0/terminal-output/terminal-output.wit.go index b6ff728..a63b0e6 100644 --- a/v2/internal/wasi/cli/v0.2.0/terminal-output/terminal-output.wit.go +++ b/v2/internal/wasi/cli/v0.2.0/terminal-output/terminal-output.wit.go @@ -10,7 +10,7 @@ package terminaloutput import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // TerminalOutput represents the imported resource "wasi:cli/terminal-output@0.2.0#terminal-output". diff --git a/v2/internal/wasi/cli/v0.2.0/terminal-stderr/terminal-stderr.wit.go b/v2/internal/wasi/cli/v0.2.0/terminal-stderr/terminal-stderr.wit.go index 4ce0f21..ed076a4 100644 --- a/v2/internal/wasi/cli/v0.2.0/terminal-stderr/terminal-stderr.wit.go +++ b/v2/internal/wasi/cli/v0.2.0/terminal-stderr/terminal-stderr.wit.go @@ -7,8 +7,8 @@ package terminalstderr import ( + "github.com/bytecodealliance/wasm-tools-go/cm" terminaloutput "github.com/fermyon/spin-go-sdk/v2/internal/wasi/cli/v0.2.0/terminal-output" - "github.com/ydnar/wasm-tools-go/cm" ) // GetTerminalStderr represents the imported function "get-terminal-stderr". diff --git a/v2/internal/wasi/cli/v0.2.0/terminal-stdin/terminal-stdin.wit.go b/v2/internal/wasi/cli/v0.2.0/terminal-stdin/terminal-stdin.wit.go index 486a0b0..925e6dc 100644 --- a/v2/internal/wasi/cli/v0.2.0/terminal-stdin/terminal-stdin.wit.go +++ b/v2/internal/wasi/cli/v0.2.0/terminal-stdin/terminal-stdin.wit.go @@ -7,8 +7,8 @@ package terminalstdin import ( + "github.com/bytecodealliance/wasm-tools-go/cm" terminalinput "github.com/fermyon/spin-go-sdk/v2/internal/wasi/cli/v0.2.0/terminal-input" - "github.com/ydnar/wasm-tools-go/cm" ) // GetTerminalStdin represents the imported function "get-terminal-stdin". diff --git a/v2/internal/wasi/cli/v0.2.0/terminal-stdout/terminal-stdout.wit.go b/v2/internal/wasi/cli/v0.2.0/terminal-stdout/terminal-stdout.wit.go index f6b5cbc..88d77b0 100644 --- a/v2/internal/wasi/cli/v0.2.0/terminal-stdout/terminal-stdout.wit.go +++ b/v2/internal/wasi/cli/v0.2.0/terminal-stdout/terminal-stdout.wit.go @@ -7,8 +7,8 @@ package terminalstdout import ( + "github.com/bytecodealliance/wasm-tools-go/cm" terminaloutput "github.com/fermyon/spin-go-sdk/v2/internal/wasi/cli/v0.2.0/terminal-output" - "github.com/ydnar/wasm-tools-go/cm" ) // GetTerminalStdout represents the imported function "get-terminal-stdout". diff --git a/v2/internal/wasi/clocks/v0.2.0/monotonic-clock/monotonic-clock.wit.go b/v2/internal/wasi/clocks/v0.2.0/monotonic-clock/monotonic-clock.wit.go index b168d28..68ffd9a 100644 --- a/v2/internal/wasi/clocks/v0.2.0/monotonic-clock/monotonic-clock.wit.go +++ b/v2/internal/wasi/clocks/v0.2.0/monotonic-clock/monotonic-clock.wit.go @@ -15,8 +15,8 @@ package monotonicclock import ( + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/poll" - "github.com/ydnar/wasm-tools-go/cm" ) // Instant represents the u64 "wasi:clocks/monotonic-clock@0.2.0#instant". diff --git a/v2/internal/wasi/filesystem/v0.2.0/preopens/preopens.wit.go b/v2/internal/wasi/filesystem/v0.2.0/preopens/preopens.wit.go index dc09813..2f950ea 100644 --- a/v2/internal/wasi/filesystem/v0.2.0/preopens/preopens.wit.go +++ b/v2/internal/wasi/filesystem/v0.2.0/preopens/preopens.wit.go @@ -4,8 +4,8 @@ package preopens import ( + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/filesystem/v0.2.0/types" - "github.com/ydnar/wasm-tools-go/cm" ) // GetDirectories represents the imported function "get-directories". diff --git a/v2/internal/wasi/filesystem/v0.2.0/types/abi.go b/v2/internal/wasi/filesystem/v0.2.0/types/abi.go index 2f5edfa..a22b723 100644 --- a/v2/internal/wasi/filesystem/v0.2.0/types/abi.go +++ b/v2/internal/wasi/filesystem/v0.2.0/types/abi.go @@ -3,8 +3,8 @@ package types import ( + "github.com/bytecodealliance/wasm-tools-go/cm" wallclock "github.com/fermyon/spin-go-sdk/v2/internal/wasi/clocks/v0.2.0/wall-clock" - "github.com/ydnar/wasm-tools-go/cm" "unsafe" ) diff --git a/v2/internal/wasi/filesystem/v0.2.0/types/types.wit.go b/v2/internal/wasi/filesystem/v0.2.0/types/types.wit.go index 11f0d2c..0408a1c 100644 --- a/v2/internal/wasi/filesystem/v0.2.0/types/types.wit.go +++ b/v2/internal/wasi/filesystem/v0.2.0/types/types.wit.go @@ -29,10 +29,10 @@ package types import ( + "github.com/bytecodealliance/wasm-tools-go/cm" wallclock "github.com/fermyon/spin-go-sdk/v2/internal/wasi/clocks/v0.2.0/wall-clock" ioerror "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/error" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/streams" - "github.com/ydnar/wasm-tools-go/cm" ) // FileSize represents the u64 "wasi:filesystem/types@0.2.0#filesize". diff --git a/v2/internal/wasi/http/v0.2.0/incoming-handler/incoming-handler.wit.go b/v2/internal/wasi/http/v0.2.0/incoming-handler/incoming-handler.wit.go index 4c0505f..22efec3 100644 --- a/v2/internal/wasi/http/v0.2.0/incoming-handler/incoming-handler.wit.go +++ b/v2/internal/wasi/http/v0.2.0/incoming-handler/incoming-handler.wit.go @@ -7,8 +7,8 @@ package incominghandler import ( + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/http/v0.2.0/types" - "github.com/ydnar/wasm-tools-go/cm" ) //go:wasmexport wasi:http/incoming-handler@0.2.0#handle diff --git a/v2/internal/wasi/http/v0.2.0/outgoing-handler/abi.go b/v2/internal/wasi/http/v0.2.0/outgoing-handler/abi.go index a0a35d9..8f28928 100644 --- a/v2/internal/wasi/http/v0.2.0/outgoing-handler/abi.go +++ b/v2/internal/wasi/http/v0.2.0/outgoing-handler/abi.go @@ -3,8 +3,8 @@ package outgoinghandler import ( + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/http/v0.2.0/types" - "github.com/ydnar/wasm-tools-go/cm" "unsafe" ) diff --git a/v2/internal/wasi/http/v0.2.0/outgoing-handler/outgoing-handler.wit.go b/v2/internal/wasi/http/v0.2.0/outgoing-handler/outgoing-handler.wit.go index 1945bc0..9576fe0 100644 --- a/v2/internal/wasi/http/v0.2.0/outgoing-handler/outgoing-handler.wit.go +++ b/v2/internal/wasi/http/v0.2.0/outgoing-handler/outgoing-handler.wit.go @@ -7,8 +7,8 @@ package outgoinghandler import ( + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/http/v0.2.0/types" - "github.com/ydnar/wasm-tools-go/cm" ) // Handle represents the imported function "handle". diff --git a/v2/internal/wasi/http/v0.2.0/types/abi.go b/v2/internal/wasi/http/v0.2.0/types/abi.go index ff37570..2a9193e 100644 --- a/v2/internal/wasi/http/v0.2.0/types/abi.go +++ b/v2/internal/wasi/http/v0.2.0/types/abi.go @@ -3,8 +3,8 @@ package types import ( + "github.com/bytecodealliance/wasm-tools-go/cm" monotonicclock "github.com/fermyon/spin-go-sdk/v2/internal/wasi/clocks/v0.2.0/monotonic-clock" - "github.com/ydnar/wasm-tools-go/cm" "unsafe" ) diff --git a/v2/internal/wasi/http/v0.2.0/types/types.wit.go b/v2/internal/wasi/http/v0.2.0/types/types.wit.go index 7e8d905..96ea918 100644 --- a/v2/internal/wasi/http/v0.2.0/types/types.wit.go +++ b/v2/internal/wasi/http/v0.2.0/types/types.wit.go @@ -8,11 +8,11 @@ package types import ( + "github.com/bytecodealliance/wasm-tools-go/cm" monotonicclock "github.com/fermyon/spin-go-sdk/v2/internal/wasi/clocks/v0.2.0/monotonic-clock" ioerror "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/error" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/poll" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/streams" - "github.com/ydnar/wasm-tools-go/cm" ) // Method represents the variant "wasi:http/types@0.2.0#method". diff --git a/v2/internal/wasi/io/v0.2.0/error/error.wit.go b/v2/internal/wasi/io/v0.2.0/error/error.wit.go index 96d18cf..61d61db 100644 --- a/v2/internal/wasi/io/v0.2.0/error/error.wit.go +++ b/v2/internal/wasi/io/v0.2.0/error/error.wit.go @@ -4,7 +4,7 @@ package ioerror import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // Error represents the imported resource "wasi:io/error@0.2.0#error". diff --git a/v2/internal/wasi/io/v0.2.0/poll/poll.wit.go b/v2/internal/wasi/io/v0.2.0/poll/poll.wit.go index ba22e54..d11852f 100644 --- a/v2/internal/wasi/io/v0.2.0/poll/poll.wit.go +++ b/v2/internal/wasi/io/v0.2.0/poll/poll.wit.go @@ -7,7 +7,7 @@ package poll import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // Pollable represents the imported resource "wasi:io/poll@0.2.0#pollable". diff --git a/v2/internal/wasi/io/v0.2.0/streams/streams.wit.go b/v2/internal/wasi/io/v0.2.0/streams/streams.wit.go index 8e9d2ae..d69726d 100644 --- a/v2/internal/wasi/io/v0.2.0/streams/streams.wit.go +++ b/v2/internal/wasi/io/v0.2.0/streams/streams.wit.go @@ -10,9 +10,9 @@ package streams import ( + "github.com/bytecodealliance/wasm-tools-go/cm" ioerror "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/error" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/poll" - "github.com/ydnar/wasm-tools-go/cm" ) // StreamError represents the imported variant "wasi:io/streams@0.2.0#stream-error". diff --git a/v2/internal/wasi/random/v0.2.0/insecure/insecure.wit.go b/v2/internal/wasi/random/v0.2.0/insecure/insecure.wit.go index 4f813bf..bfe1e6c 100644 --- a/v2/internal/wasi/random/v0.2.0/insecure/insecure.wit.go +++ b/v2/internal/wasi/random/v0.2.0/insecure/insecure.wit.go @@ -9,7 +9,7 @@ package insecure import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // GetInsecureRandomBytes represents the imported function "get-insecure-random-bytes". diff --git a/v2/internal/wasi/random/v0.2.0/random/random.wit.go b/v2/internal/wasi/random/v0.2.0/random/random.wit.go index 04b2319..da2eb57 100644 --- a/v2/internal/wasi/random/v0.2.0/random/random.wit.go +++ b/v2/internal/wasi/random/v0.2.0/random/random.wit.go @@ -9,7 +9,7 @@ package random import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // GetRandomBytes represents the imported function "get-random-bytes". diff --git a/v2/internal/wasi/sockets/v0.2.0/instance-network/instance-network.wit.go b/v2/internal/wasi/sockets/v0.2.0/instance-network/instance-network.wit.go index af26e1b..6f094e6 100644 --- a/v2/internal/wasi/sockets/v0.2.0/instance-network/instance-network.wit.go +++ b/v2/internal/wasi/sockets/v0.2.0/instance-network/instance-network.wit.go @@ -6,8 +6,8 @@ package instancenetwork import ( + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/sockets/v0.2.0/network" - "github.com/ydnar/wasm-tools-go/cm" ) // InstanceNetwork represents the imported function "instance-network". diff --git a/v2/internal/wasi/sockets/v0.2.0/ip-name-lookup/abi.go b/v2/internal/wasi/sockets/v0.2.0/ip-name-lookup/abi.go index b1c29e6..23564f4 100644 --- a/v2/internal/wasi/sockets/v0.2.0/ip-name-lookup/abi.go +++ b/v2/internal/wasi/sockets/v0.2.0/ip-name-lookup/abi.go @@ -3,8 +3,8 @@ package ipnamelookup import ( + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/sockets/v0.2.0/network" - "github.com/ydnar/wasm-tools-go/cm" "unsafe" ) diff --git a/v2/internal/wasi/sockets/v0.2.0/ip-name-lookup/ip-name-lookup.wit.go b/v2/internal/wasi/sockets/v0.2.0/ip-name-lookup/ip-name-lookup.wit.go index b331a64..a4154fb 100644 --- a/v2/internal/wasi/sockets/v0.2.0/ip-name-lookup/ip-name-lookup.wit.go +++ b/v2/internal/wasi/sockets/v0.2.0/ip-name-lookup/ip-name-lookup.wit.go @@ -4,9 +4,9 @@ package ipnamelookup import ( + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/poll" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/sockets/v0.2.0/network" - "github.com/ydnar/wasm-tools-go/cm" ) // ResolveAddressStream represents the imported resource "wasi:sockets/ip-name-lookup@0.2.0#resolve-address-stream". diff --git a/v2/internal/wasi/sockets/v0.2.0/network/network.wit.go b/v2/internal/wasi/sockets/v0.2.0/network/network.wit.go index 4597e24..b18bec9 100644 --- a/v2/internal/wasi/sockets/v0.2.0/network/network.wit.go +++ b/v2/internal/wasi/sockets/v0.2.0/network/network.wit.go @@ -4,7 +4,7 @@ package network import ( - "github.com/ydnar/wasm-tools-go/cm" + "github.com/bytecodealliance/wasm-tools-go/cm" ) // Network represents the imported resource "wasi:sockets/network@0.2.0#network". diff --git a/v2/internal/wasi/sockets/v0.2.0/tcp-create-socket/tcp-create-socket.wit.go b/v2/internal/wasi/sockets/v0.2.0/tcp-create-socket/tcp-create-socket.wit.go index d3ef366..ce311f8 100644 --- a/v2/internal/wasi/sockets/v0.2.0/tcp-create-socket/tcp-create-socket.wit.go +++ b/v2/internal/wasi/sockets/v0.2.0/tcp-create-socket/tcp-create-socket.wit.go @@ -4,9 +4,9 @@ package tcpcreatesocket import ( + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/sockets/v0.2.0/network" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/sockets/v0.2.0/tcp" - "github.com/ydnar/wasm-tools-go/cm" ) // CreateTCPSocket represents the imported function "create-tcp-socket". diff --git a/v2/internal/wasi/sockets/v0.2.0/tcp/abi.go b/v2/internal/wasi/sockets/v0.2.0/tcp/abi.go index a2b2609..ca71a81 100644 --- a/v2/internal/wasi/sockets/v0.2.0/tcp/abi.go +++ b/v2/internal/wasi/sockets/v0.2.0/tcp/abi.go @@ -3,9 +3,9 @@ package tcp import ( + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/streams" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/sockets/v0.2.0/network" - "github.com/ydnar/wasm-tools-go/cm" "unsafe" ) diff --git a/v2/internal/wasi/sockets/v0.2.0/tcp/tcp.wit.go b/v2/internal/wasi/sockets/v0.2.0/tcp/tcp.wit.go index 5cf0ea3..517451c 100644 --- a/v2/internal/wasi/sockets/v0.2.0/tcp/tcp.wit.go +++ b/v2/internal/wasi/sockets/v0.2.0/tcp/tcp.wit.go @@ -4,11 +4,11 @@ package tcp import ( + "github.com/bytecodealliance/wasm-tools-go/cm" monotonicclock "github.com/fermyon/spin-go-sdk/v2/internal/wasi/clocks/v0.2.0/monotonic-clock" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/poll" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/streams" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/sockets/v0.2.0/network" - "github.com/ydnar/wasm-tools-go/cm" ) // ShutdownType represents the enum "wasi:sockets/tcp@0.2.0#shutdown-type". diff --git a/v2/internal/wasi/sockets/v0.2.0/udp-create-socket/udp-create-socket.wit.go b/v2/internal/wasi/sockets/v0.2.0/udp-create-socket/udp-create-socket.wit.go index 3d6e832..e52316f 100644 --- a/v2/internal/wasi/sockets/v0.2.0/udp-create-socket/udp-create-socket.wit.go +++ b/v2/internal/wasi/sockets/v0.2.0/udp-create-socket/udp-create-socket.wit.go @@ -4,9 +4,9 @@ package udpcreatesocket import ( + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/sockets/v0.2.0/network" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/sockets/v0.2.0/udp" - "github.com/ydnar/wasm-tools-go/cm" ) // CreateUDPSocket represents the imported function "create-udp-socket". diff --git a/v2/internal/wasi/sockets/v0.2.0/udp/abi.go b/v2/internal/wasi/sockets/v0.2.0/udp/abi.go index bb6be9a..6d5e282 100644 --- a/v2/internal/wasi/sockets/v0.2.0/udp/abi.go +++ b/v2/internal/wasi/sockets/v0.2.0/udp/abi.go @@ -3,8 +3,8 @@ package udp import ( + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/sockets/v0.2.0/network" - "github.com/ydnar/wasm-tools-go/cm" "unsafe" ) diff --git a/v2/internal/wasi/sockets/v0.2.0/udp/udp.wit.go b/v2/internal/wasi/sockets/v0.2.0/udp/udp.wit.go index 3e299c1..d4a6591 100644 --- a/v2/internal/wasi/sockets/v0.2.0/udp/udp.wit.go +++ b/v2/internal/wasi/sockets/v0.2.0/udp/udp.wit.go @@ -4,9 +4,9 @@ package udp import ( + "github.com/bytecodealliance/wasm-tools-go/cm" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/io/v0.2.0/poll" "github.com/fermyon/spin-go-sdk/v2/internal/wasi/sockets/v0.2.0/network" - "github.com/ydnar/wasm-tools-go/cm" ) // IncomingDatagram represents the record "wasi:sockets/udp@0.2.0#incoming-datagram".