(cfg *MemcachedClientConfig)
| 573 | func (n nopAllocator) Put(_ *[]byte) {} |
| 574 | |
| 575 | func memcachedClientConfigDefaultValues(cfg *MemcachedClientConfig) { |
| 576 | // Init default values. We can't use flagext.DefaultValues() because MemcachedClientConfig |
| 577 | // does not implement any of the supported interfaces. |
| 578 | fs := flag.NewFlagSet("", flag.PanicOnError) |
| 579 | cfg.RegisterFlagsWithPrefix("", fs) |
| 580 | _ = fs.Parse([]string{}) |
| 581 | } |
no test coverage detected