fix env docs

This commit is contained in:
syumai 2022-08-03 00:02:03 +09:00
parent 6a9589752c
commit 2700b3a132

2
env.go
View File

@ -1,6 +1,6 @@
package workers
// Getenv gets an environment variable set to global object.
// Getenv gets a value of an environment variable.
// * https://developers.cloudflare.com/workers/platform/environment-variables/
// * Technically, this function is just an alias for js.Global().Get(env_name).String().
func Getenv(name string) string {