mirror of
https://github.com/golang/go
synced 2024-11-06 02:16:10 -07:00
16 lines
263 B
Go
16 lines
263 B
Go
|
// Copyright 2011 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.
|
||
|
|
||
|
package lib
|
||
|
|
||
|
type T struct {
|
||
|
x int // non-exported field
|
||
|
}
|
||
|
|
||
|
func (t T) M() {
|
||
|
}
|
||
|
|
||
|
func (t *T) PM() {
|
||
|
}
|