| 1 | // Copyright 2020 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 | package b |
| 6 | |
| 7 | type TypeB int |
| 8 | |
| 9 | const ( |
| 10 | TypeBOne TypeB = iota |
| 11 | TypeBTwo |
| 12 | TypeBThree |
| 13 | ) |
| 14 | |
| 15 | type ExportedInterface interface { |
| 16 | isExportedInterface() |
| 17 | } |
| 18 | |
| 19 | type notExportedType struct{} |
| 20 | |
| 21 | func (notExportedType) isExportedInterface() {} |