Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove old go sdk suggestion, update plugin loading info #25

Merged
merged 1 commit into from
Oct 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ Join the [Discord](https://discord.gg/EGTV8Pxs) and chat with us!

> **Note**: If you're unsure what Extism is or what an SDK is see our homepage: [https://extism.org](https://extism.org/).

> **Note**: This houses the 1.0 version of the Go SDK and is a work in progress. Please use the Go SDK in [extism/extism](https://github.com/extism/extism) until we hit 1.0.

## Installation

Install via `go get`:
Expand All @@ -24,7 +22,7 @@ This guide should walk you through some of the concepts in Extism and this Go li

The primary concept in Extism is the [plug-in](https://extism.org/docs/concepts/plug-in). You can think of a plug-in as a code module stored in a `.wasm` file.

You'll normally load a plug-in from disk, but since you may not have one handy let's load a demo plug-in from the web:
Plug-in code can come from a file on disk, object storage or any number of places. Since you may not have one handy let's load a demo plug-in from the web:

```go
manifest := extism.Manifest{
Expand Down Expand Up @@ -225,4 +223,4 @@ Since our [example plugins](./plugins/) are also written in Go, for compiling th
```sh
cd plugins/config
tinygo build -target wasi -o ../wasm/config.wasm main.go
```
```