Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromPublic ¶
func FromPublic(src types.ImageSource) private.ImageSource
FromPublic(src) returns an object that provides the private.ImageSource API
Eventually, we might want to expose this function, and methods of the returned object, as a public API (or rather, a variant that does not include the already-superseded methods of types.ImageSource, and has added more future-proofing), and more strongly deprecate direct use of types.ImageSource.
NOTE: The returned API MUST NOT be a public interface (it can be either just a struct with public methods, or perhaps a private interface), so that we can add methods without breaking any external implementors of a public interface.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.