mirror of
https://github.com/golang/go
synced 2024-11-05 21:26:11 -07:00
89156360f9
As per http://golang.org/ref/spec#Struct_types enable eg tool to wildcard match against promoted fields and methods. LGTM=adonovan R=adonovan, gordon.klaus CC=golang-codereviews https://golang.org/cl/129260043
8 lines
125 B
Plaintext
8 lines
125 B
Plaintext
package templates
|
|
|
|
// Test
|
|
|
|
import "sync"
|
|
|
|
func before(s sync.RWMutex) { s.Lock() }
|
|
func after(s sync.RWMutex) { s.RLock() } |