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