mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Minor improvement, but makes defining a list of options
a bit cleaner, and more descriptive;
Before:
opts := make([]func(*client.Client) error, 0)
After:
opts := make([]client.Opt, 0)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
||
|---|---|---|
| .. | ||
| daemon | ||
| environment | ||
| fakecontext | ||
| fakegit | ||
| fakestorage | ||
| fixtures | ||
| registry | ||
| request | ||
| helper.go | ||