...

Source file src/go/doc/testdata/f.go

Documentation: go/doc/testdata

     1  // Copyright 2012 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // The package f is a go/doc test for functions and factory methods.
     6  package f
     7  
     8  // ----------------------------------------------------------------------------
     9  // Factory functions for non-exported types must not get lost.
    10  
    11  type private struct{}
    12  
    13  // Exported must always be visible. Was issue 2824.
    14  func Exported() private {}
    15  

View as plain text