mirror of
https://github.com/golang/go
synced 2024-11-08 19:06:26 -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
|
||
|
}
|