[v2] Update context error

This commit is contained in:
Lea\Anthony
2021-12-22 06:28:47 +11:00
parent 56285f8637
commit 5c357f012d
2 changed files with 7 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ The runtime is a library that provides utility methods for your application. The
and the aim is to try and keep them at parity where possible.
The Go Runtime is available through importing `github.com/wailsapp/wails/v2/pkg/runtime`. All methods in this package
take a context as the first parameter. This context can be obtained from the [OnStartup](/docs/reference/options#onstartup)
take a context as the first parameter. This context should be obtained from the [OnStartup](/docs/reference/options#onstartup)
or [OnDomReady](/docs/reference/options#ondomready) hooks.
:::info Note