github.com/simonferquel/app@v0.6.1-0.20181012141724-68b7cccf26ac/internal/renderer/driver/driver.go (about)

     1  package driver
     2  
     3  // Driver is the interface that must be implemented by a renderer driver.
     4  type Driver interface {
     5  	// Apply applies the settings to the string
     6  	Apply(s string, settings map[string]interface{}) (string, error)
     7  }