github.com/pojntfx/hydrapp/hydrapp@v0.0.0-20240516002902-d08759d6ca9f/pkg/renderers/apk/implementation.go (about)

     1  package apk
     2  
     3  import (
     4  	_ "embed"
     5  
     6  	"github.com/pojntfx/hydrapp/hydrapp/pkg/renderers"
     7  )
     8  
     9  //go:embed implementation.c.tpl
    10  var implementationTemplate string
    11  
    12  type implementationData struct{}
    13  
    14  func NewImplementationRenderer() renderers.Renderer {
    15  	return renderers.NewRenderer("hydrapp_android.c", implementationTemplate, implementationData{})
    16  }