dorkgen/dorkgen.go

16 lines
293 B
Go

package dorkgen
// EngineFactory is the main interface for
// search engine implementations.
type EngineFactory struct {
tags []string
}
func (e *EngineFactory) concat(tag string, value string, quotes bool) string {
if quotes {
return tag + "\"" + value + "\""
}
return tag + value
}