summaryrefslogtreecommitdiffstats
path: root/src/go/doc/testdata/f.go
blob: 7e9add90784ca1268903fa801f6b7c53ed472bbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// The package f is a go/doc test for functions and factory methods.
package f

// ----------------------------------------------------------------------------
// Factory functions for non-exported types must not get lost.

type private struct{}

// Exported must always be visible. Was issue 2824.
func Exported() private {}