github.com/prebid/prebid-server/v2@v2.18.0/macros/replacer.go (about)

     1  package macros
     2  
     3  import "strings"
     4  
     5  type Replacer interface {
     6  	// Replace the macros and returns replaced string
     7  	// if any error the error will be returned
     8  	Replace(result *strings.Builder, url string, macroProvider *MacroProvider)
     9  }