higress icon indicating copy to clipboard operation
higress copied to clipboard

Wasm SDK used in `hgctl plugin init`

Open CH3CHO opened this issue 1 year ago • 1 comments

Currently, when creating a new Wasm plugin project using hgctl plugin init command, the new project uses github.com/tetratelabs/proxy-wasm-go-sdk. Should we switch to https://github.com/higress-group/proxy-wasm-go-sdk here?

https://github.com/alibaba/higress/blob/main/pkg/cmd/hgctl/plugin/init/templates.go#L35

import (
	"github.com/tidwall/gjson"
	"github.com/tetratelabs/proxy-wasm-go-sdk/proxywasm" // <-----
	"github.com/tetratelabs/proxy-wasm-go-sdk/proxywasm/types" // <-----
	"github.com/alibaba/higress/plugins/wasm-go/pkg/wrapper"
)

CH3CHO avatar Mar 27 '24 08:03 CH3CHO

cc @rinfx

johnlanni avatar Apr 01 '24 11:04 johnlanni