summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDave Collins <[email protected]>2016-09-07 11:21:46 -0500
committerDave Collins <[email protected]>2016-09-07 12:06:01 -0500
commit6d212800a42e8ab5c146b8ace3490ee17e5225f9 (patch)
tree3f9e66d47d26d217cf8fc1c72ff093a582c342dc /README.md
parent66f99a29a08158b999b0dc2e7ccacf1131d4e0b4 (diff)
Deprecate "disableunsafe" tag in favor of "safe".
This adds a new build tag named "safe" which serves the exact same purpose as the current "disableunsafe" tag. This is being done, as recommended by @shurcooL, since it is emerging as the standard way to do it in several high profile packages, it mirrors the "unsafe" package nicely, it is shorter, and users generally seem to prefer it. However, to avoid breaking existing infrastructure, the disableunsafe tag is still available and simply is being deprecated.
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index a326343..556170a 100644
--- a/README.md
+++ b/README.md
@@ -157,7 +157,7 @@ options. See the ConfigState documentation for more details.
which only accept pointer receivers from non-pointer variables. This option
relies on access to the unsafe package, so it will not have any effect when
running in environments without access to the unsafe package such as Google
- App Engine or with the "disableunsafe" build tag specified.
+ App Engine or with the "safe" build tag specified.
Pointer method invocation is enabled by default.
* ContinueOnMethod
@@ -185,9 +185,9 @@ options. See the ConfigState documentation for more details.
This package relies on the unsafe package to perform some of the more advanced
features, however it also supports a "limited" mode which allows it to work in
environments where the unsafe package is not available. By default, it will
-operate in this mode on Google App Engine. The "disableunsafe" build tag may
-also be specified to force the package to build without using the unsafe
-package.
+operate in this mode on Google App Engine and when compiled with GopherJS. The
+"safe" build tag may also be specified to force the package to build without
+using the unsafe package.
## License