diff options
| author | Eli Bendersky <eliben@golang.org> | 2022-03-15 17:12:55 -0700 |
|---|---|---|
| committer | Eli Bendersky <eliben@google.com> | 2022-03-16 14:24:38 +0000 |
| commit | 76352824d2e26b9d9407709835151c27642d45b3 (patch) | |
| tree | 795ce1980df1d9bf04c02fff910b09bb7d31fd53 /_content/doc/tutorial | |
| parent | 7a60f303d8c4f3c0c7daab7b2175a6ff4f692698 (diff) | |
| download | go-x-website-76352824d2e26b9d9407709835151c27642d45b3.tar.xz | |
_content/doc: change generics and fuzz tutorials from beta
Go 1.18 is released; these tutorials are now out of beta as well.
Fixes golang/go#51688
Change-Id: I5ded6c75f3131c97e3d2104146e0dff98dd7b1b0
Reviewed-on: https://go-review.googlesource.com/c/website/+/393215
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Trust: Eli Bendersky <eliben@google.com>
Diffstat (limited to '_content/doc/tutorial')
| -rw-r--r-- | _content/doc/tutorial/fuzz.md | 47 | ||||
| -rw-r--r-- | _content/doc/tutorial/generics.md | 46 |
2 files changed, 4 insertions, 89 deletions
diff --git a/_content/doc/tutorial/fuzz.md b/_content/doc/tutorial/fuzz.md index 6d07cf65..450d1664 100644 --- a/_content/doc/tutorial/fuzz.md +++ b/_content/doc/tutorial/fuzz.md @@ -3,8 +3,6 @@ "HideTOC": true }--> -> **Note: This is beta content.** - This tutorial introduces the basics of fuzzing in Go. With fuzzing, random data is run against your test in an attempt to find vulnerabilities or crash-causing inputs. Some examples of vulnerabilities that can be found by fuzzing are SQL @@ -33,55 +31,14 @@ types to be added in the future. ## Prerequisites -- **An installation of Go 1.18 Beta 1 or later.** For installation instructions, - see [Installing and using the beta](#installing_beta). +- **An installation of Go 1.18 or later.** For installation instructions, see + [Installing Go](/doc/install). - **A tool to edit your code.** Any text editor you have will work fine. - **A command terminal.** Go works well using any terminal on Linux and Mac, and on PowerShell or cmd in Windows. - **An environment that supports fuzzing.** Go fuzzing with coverage instrumentation is only available on AMD64 and ARM64 architectures currently. -<!-- TODO: Remove this section after release. --> - -### Installing and using the beta {#installing_beta} - -This tutorial requires the fuzzing feature available in Beta 1. To install the -beta, following these steps: - -1. Run the following command to install the beta. - - ``` - $ go install golang.org/dl/go1.18beta1@latest - ``` - -2. Run the following command to download updates. - - ``` - $ go1.18beta1 download - ``` - -3. Run `go` commands using the beta instead of a released version of Go (if you - have one). - - You can run commands with the beta either by using the beta name or by - aliasing the beta to another name. - - - Using the beta name, you can run commands by invoking `go1.18beta1` instead - of `go`: - - ``` - $ go1.18beta1 version - ``` - - - By aliasing the beta name to another name, you can simplify the command: - - ``` - $ alias go=go1.18beta1 - $ go version - ``` - - Commands in this tutorial will assume you have aliased the beta name. - ## Create a folder for your code {#create_folder} To begin, create a folder for the code you’ll write. diff --git a/_content/doc/tutorial/generics.md b/_content/doc/tutorial/generics.md index 95c6583d..c773b045 100644 --- a/_content/doc/tutorial/generics.md +++ b/_content/doc/tutorial/generics.md @@ -2,8 +2,6 @@ "Title": "Tutorial: Getting started with generics" }--> -> **Note: This is beta content.** - This tutorial introduces the basics of generics in Go. With generics, you can declare and use functions or types that are written to work with any of a set of types provided by calling code. @@ -27,52 +25,12 @@ to edit and run your program instead. ## Prerequisites -* **An installation of Go 1.18 Beta 1 or later.** For installation - instructions, see [Installing and using the beta](#installing_beta). +* **An installation of Go 1.18 or later.** For installation instructions, see + [Installing Go](/doc/install). * **A tool to edit your code.** Any text editor you have will work fine. * **A command terminal.** Go works well using any terminal on Linux and Mac, and on PowerShell or cmd in Windows. -<!-- TODO: Remove this section after release. --> -#### Installing and using the beta {#installing_beta} - -This tutorial requires the generics feature available in Beta 1. To install -the beta, following these steps: - -1. Run the following command to install the beta. - - ``` - $ go install golang.org/dl/go1.18beta1@latest - ``` - -2. Run the following command to download updates. - - ``` - $ go1.18beta1 download - ``` - -3. Run `go` commands using the beta instead of a released version of Go (if you - have one). - - You can run commands with the beta either by using the beta name or by - aliasing the beta to another name. - - * Using the beta name, you can run commands by invoking `go1.18beta1` - instead of `go`: - - ``` - $ go1.18beta1 version - ``` - - * By aliasing the beta name to another name, you can simplify the command: - - ``` - $ alias go=go1.18beta1 - $ go version - ``` - -Commands in this tutorial will assume you have aliased the beta name. - ## Create a folder for your code {#create_folder} To begin, create a folder for the code you’ll write. |
