mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
04389ae99b
It's more idiomatic Go to define interfaces on the receiver, and constructors to return concrete types. This patch changes various constructors to return a concrete type, with the exceptions of NewWithPaths, which needs the abstraction as it switches between implementations. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>