mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-04 20:31:29 +02:00
16 lines
203 B
Go
16 lines
203 B
Go
package tmpl
|
|
|
|
import "io/ioutil"
|
|
|
|
var DefaultContext *Context
|
|
|
|
func init() {
|
|
DefaultContext = &Context{
|
|
readFile: ioutil.ReadFile,
|
|
}
|
|
}
|
|
|
|
type Context struct {
|
|
readFile func(string) ([]byte, error)
|
|
}
|