example

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReaderForBytes

func ReaderForBytes(content []byte) io.Reader

Types

type ConverterGlobalMethod

type ConverterGlobalMethod interface {
	// goverter:map Content Reader
	Convert(source *Input) *Output
}

goverter:converter goverter:extend ReaderForBytes

type ConverterPropertyMethod

type ConverterPropertyMethod interface {
	// goverter:map Content Reader | bytes:NewReader
	Convert(source *Input) *Output
}

goverter:converter

type Input

type Input struct {
	Source  string
	Content []byte
}

type Output

type Output struct {
	Source string
	Reader io.Reader
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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