Lines Matching refs:interface
27 type valueMap map[interface{}]interface{}
31 func (once *OncePer) Once(key interface{}, value func() interface{}) interface{} {
53 func (once *OncePer) Get(key interface{}) interface{} {
62 func (once *OncePer) OnceStringSlice(key interface{}, value func() []string) []string {
63 return once.Once(key, func() interface{} { return value() }).([]string)
66 func (once *OncePer) Once2StringSlice(key interface{}, value func() ([]string, []string)) ([]string, []string) {
68 s := once.Once(key, func() interface{} {