gopass: github.com/justwatchcom/gopass/pkg/tpl Index | Files

package tpl

import "github.com/justwatchcom/gopass/pkg/tpl"

Index

Package Files

funcs.go template.go

Constants

const (
    FuncMd5sum      = "md5sum"
    FuncSha1sum     = "sha1sum"
    FuncMd5Crypt    = "md5crypt"
    FuncSSHA        = "ssha"
    FuncSSHA256     = "ssha256"
    FuncSSHA512     = "ssha512"
    FuncGet         = "get"
    FuncGetPassword = "getpw"
    FuncGetValue    = "getval"
)

These constants defined the template function names used

func Execute Uses

func Execute(ctx context.Context, tpl, name string, content []byte, s kvstore) ([]byte, error)

Execute executes the given template

Package tpl imports 13 packages (graph). Updated 2019-03-28. Refresh now. Tools for package owners.