Skip to content

Commit

Permalink
chore: remove old go sdk suggestion, update plugin loading info (#25)
Browse files Browse the repository at this point in the history
Just two minor things: 
- I don't think we should be recommending the old go sdk at all anymore.
- We shouldn't be prescriptive about where you may or may not load
plug-ins from (disk, web, etc).
  • Loading branch information
nilslice authored Oct 3, 2023
1 parent 951efea commit 4bdb066
Showing 1 changed file with 2 additions and 4 deletions.
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
```
```

0 comments on commit 4bdb066

Please sign in to comment.