add external interaction recommendation

Signed-off-by: mikeee <hey@mike.ee>
This commit is contained in:
mikeee 2024-03-01 21:45:49 +00:00
parent 6135b88f03
commit f3785cbda5
No known key found for this signature in database
GPG Key ID: ACED13988580D50E
1 changed files with 3 additions and 8 deletions

View File

@ -318,18 +318,11 @@ fetch('https://postman-echo.com/get')
```go
// DON'T DO THIS!
resp, err := http.Get("http://example.com/api/data")
```
{{% /codetab %}}
{{% codetab %}}
```go
// DON'T DO THIS!
```
{{% /codetab %}}
{{< /tabs >}}
@ -372,6 +365,8 @@ const data = yield ctx.callActivity(makeHttpCall, "https://example.com/api/data"
```go
// Do this!!
err := ctx.CallActivity(MakeHttpCallActivity, workflow.ActivityInput("https://example.com/api/data")).Await(&output)
```
{{% /codetab %}}