templatedir

package module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: MIT Imports: 17 Imported by: 0

README

templatedir

templatedir aids you to create GH repos from GH template repos.

logo

Documentation

Contributing

License

MIT Licensed

© 2021 Andrea Parodi

Documentation

Overview

Package templatedir provide two functions that allow to render a whole directory of go templates to itself or to another directory.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderTo

func RenderTo(srcfs fs.FS, destfsys writefs.WriteFS, args interface{}) error

RenderTo ...

Types

type Args

type Args map[string]interface{}

Args ...

func DefaultArgs

func DefaultArgs() (Args, error)

DefaultArgs ...

func (*Args) InitFromOSEnv added in v0.0.3

func (a *Args) InitFromOSEnv()

InitFromOSEnv ...

func (Args) String

func (a Args) String() string

type SyncErrors

type SyncErrors chan error

SyncErrors ...

func (SyncErrors) Close

func (errs SyncErrors) Close() error

Close ...

func (SyncErrors) Failed

func (errs SyncErrors) Failed() bool

Failed ...

func (SyncErrors) SetFailedOnErr

func (errs SyncErrors) SetFailedOnErr(err error) bool

SetFailedOnErr ...

Directories

Path Synopsis
cli

Jump to

Keyboard shortcuts

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