diff --git a/README.md b/README.md index 9e34b614..e93f450c 100644 --- a/README.md +++ b/README.md @@ -106,13 +106,11 @@ import ( "fmt" "kcl-lang.io/kcl-go/pkg/kcl" - "kcl-lang.io/kcl-go/pkg/native" // Import the native API _ "kcl-lang.io/kcl-go/pkg/plugin/hello_plugin" // Import the hello plugin ) func main() { - // Note we use `native.MustRun` here instead of `kcl.MustRun`, because it needs the cgo feature. - yaml := native.MustRun("main.k", kcl.WithCode(code)).GetRawYamlResult() + yaml := kcl.MustRun("main.k", kcl.WithCode(code)).GetRawYamlResult() fmt.Println(yaml) }