| 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 {} |