goembed

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	io.Reader

	Name string
	Stat os.FileInfo
}

File is a wrapper for io.Reader with extra metadata for use while wrapping.

func NewFile

func NewFile(filename string, stat os.FileInfo, reader io.Reader) File

NewFile takes the metadata and reader and returns a File object.

Jump to

Keyboard shortcuts

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