- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ExportedFunc (0.08 sec)
-
src/cmd/doc/doc_test.go
[]string{ `varThree = 3.*Comment on line with varThree`, }, nil, }, // Function. { "function", []string{p, `ExportedFunc`}, []string{ `Comment about exported function`, // Include comment. `func ExportedFunc\(a int\) bool`, }, nil, }, // Function -u. { "function with -u", []string{"-u", p, `internalFunc`}, []string{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:16:55 UTC 2023 - 31.2K bytes - Viewed (0) -
src/cmd/doc/testdata/pkg.go
varThree = 3 // Comment on line with varThree. ) // Var block where first entry is unexported. var ( varFour = 4 VarFive = 5 varSix = 6 ) // Comment about exported function. func ExportedFunc(a int) bool { // BUG(me): function body note return true != false } // Comment about internal function. func internalFunc(a int) bool // Comment about exported type. type ExportedType struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:16:55 UTC 2023 - 5.4K bytes - Viewed (0)