imagesource

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL