mirror of
https://github.com/golang/go
synced 2024-11-26 01:27:58 -07:00
14 lines
104 B
Go
14 lines
104 B
Go
|
package a
|
||
|
|
||
|
type S struct {
|
||
|
a Key
|
||
|
}
|
||
|
|
||
|
func (s S) A() Key {
|
||
|
return s.a
|
||
|
}
|
||
|
|
||
|
type Key struct {
|
||
|
key int64
|
||
|
}
|