This is an automated email from the ASF dual-hosted git repository.
soulbird pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-go-plugin-runner.git
The following commit(s) were added to refs/heads/master by this push:
new 74e9cf6 docs: fix missing `.Body` (#123)
74e9cf6 is described below
commit 74e9cf68e366406c8a188317d4e65845b4295146
Author: Ashing Zheng <[email protected]>
AuthorDate: Mon Dec 19 09:02:17 2022 +0800
docs: fix missing `.Body` (#123)
---
docs/en/latest/getting-started.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/en/latest/getting-started.md
b/docs/en/latest/getting-started.md
index df39430..5e295e2 100644
--- a/docs/en/latest/getting-started.md
+++ b/docs/en/latest/getting-started.md
@@ -129,7 +129,7 @@ type SayConf struct {
```
func (p *Say) RequestFilter(conf interface{}, w http.ResponseWriter, r
pkgHTTP.Request) {
- body := conf.(SayConf).
+ body := conf.(SayConf).Body
if len(body) == 0 {
return
}