_1_abstract_methods

package
v0.0.0-...-24b7180 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	// contains filtered or unexported fields
}
Example
package main

func main() {
	myPNG := &Image{
		toBytes: pngEncoder,
	}

	myPNG.Save("my-file.png")
}

func pngEncoder() []byte {
	// implementation removed
	return nil
}
Output:

func (*Image) Save

func (i *Image) Save(filename string)

Jump to

Keyboard shortcuts

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