| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/go/src/go/doc/testdata/examples/ |
Upload File : |
These files are processed by example_test.go:TestExamples. A .golden file is a txtar file with two sections for each example that should be created by doc.Examples from the corresponding .go file. One section, named EXAMPLE_NAME.Output, contains the example's output, the value of the field Example.Output. The other, named EXAMPLE_NAME.Play, contains the formatted code for a playable version of the example, the value of the field Example.Play. If a section is missing, it is treated as being empty.