github.com/pojntfx/hydrapp/hydrapp@v0.0.0-20240516002902-d08759d6ca9f/pkg/renderers/deb/format.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 format
    11  var formatTemplate string
    12  
    13  type formatData struct{}
    14  
    15  func NewFormatRenderer() renderers.Renderer {
    16  	return renderers.NewRenderer(filepath.Join("debian", "source", "format"), formatTemplate, formatData{})
    17  }