Closed MisterMX closed 8 months ago
Replace all IO operations based on the os package with the ones from the abstract fs package and pass a fsys parameter down to functions that need it.
os
fs
fsys
Use embed.FS in tests.
embed.FS
Depends on https://github.com/crossplane-contrib/function-go-templating/pull/62
I have:
Updated this PR and removed the dependency on #62.
Description of your changes
Replace all IO operations based on the
os
package with the ones from the abstractfs
package and pass afsys
parameter down to functions that need it.Use
embed.FS
in tests.Depends on https://github.com/crossplane-contrib/function-go-templating/pull/62I have: