Skip to content

Commit

Permalink
doc: remove log from example in readme (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilslice authored Nov 17, 2023
1 parent d502225 commit 05fa848
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ kvRead := extism.NewHostFunctionWithStack(
value = []byte{0, 0, 0, 0}
}

fmt.Printf("Read %v from key=%s\n", binary.LittleEndian.Uint32(value), key)
stack[0], err = p.WriteBytes(value)
},
[]api.ValueType{extism.PTR},
Expand All @@ -183,8 +182,6 @@ kvWrite := extism.NewHostFunctionWithStack(
panic(err)
}

fmt.Printf("Writing value=%v from key=%s\n", binary.LittleEndian.Uint32(value), key)

kvStore[key] = value
},
[]api.ValueType{extism.PTR, extism.PTR},
Expand Down

0 comments on commit 05fa848

Please sign in to comment.