b1f8ac453b
feat!: base template * first bit of templating * codeowners * linuxbased * restart * baseline project * add grpc api and basic integration test * startqueue * queueMsg * splitscripts * migrations * queueintegrationtest * gateway
12 lines
344 B
Go
12 lines
344 B
Go
package pgxmock
|
|
|
|
// QueryMatcherOption allows to customize SQL query matcher
|
|
// and match SQL query strings in more sophisticated ways.
|
|
// The default QueryMatcher is QueryMatcherRegexp.
|
|
func QueryMatcherOption(queryMatcher QueryMatcher) func(*pgxmock) error {
|
|
return func(s *pgxmock) error {
|
|
s.queryMatcher = queryMatcher
|
|
return nil
|
|
}
|
|
}
|