github.com/pojntfx/hydrapp/hydrapp@v0.0.0-20240516002902-d08759d6ca9f/pkg/renderers/deb/compat.go (about) 1 package deb 2 3 import ( 4 _ "embed" 5 "path/filepath" 6 7 "github.com/pojntfx/hydrapp/hydrapp/pkg/renderers" 8 ) 9 10 //go:embed compat 11 var compatTemplate string 12 13 type compatData struct{} 14 15 func NewCompatRenderer() renderers.Renderer { 16 return renderers.NewRenderer(filepath.Join("debian", "compat"), compatTemplate, compatData{}) 17 }