write_strategy

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MkdirPermissions = 0777
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

type Renderer interface {
	Render(io.Writer) error
}

type Strategy

type Strategy interface {
	Write(Renderer) error
}

func NewAppendToFileStrategy

func NewAppendToFileStrategy(absPath, relPath string) Strategy

func NewCreateFileStrategy

func NewCreateFileStrategy(absPath, relPath string) Strategy

Jump to

Keyboard shortcuts

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