- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for unexportedMethod (0.17 sec)
-
src/cmd/doc/testdata/pkg.go
func (ExportedType) ExportedMethod(a int) bool { return true != true } func (ExportedType) Uncommented(a int) bool { return true != true } // Comment about unexported method. func (ExportedType) unexportedMethod(a int) bool { return true } type ExportedStructOneField struct { OnlyField int // the only field } // Constants tied to ExportedType. (The type is a struct so this isn't valid Go,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:16:55 UTC 2023 - 5.4K bytes - Viewed (0) -
src/cmd/doc/doc_test.go
`Comment about exported method`, }, nil, }, // Method with -u. { "method with -u", []string{"-u", p, `ExportedType.unexportedMethod`}, []string{ `func \(ExportedType\) unexportedMethod\(a int\) bool`, `Comment about unexported method`, }, nil, }, // Method with -src. { "method with -src",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:16:55 UTC 2023 - 31.2K bytes - Viewed (0)