mirror of
https://github.com/golang/go
synced 2024-11-14 20:10:30 -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
|
||
|
}
|