...
1
2
3 package mocks
4
5 import exp "github.com/doug-martin/goqu/v9/exp"
6 import mock "github.com/stretchr/testify/mock"
7 import sb "github.com/doug-martin/goqu/v9/internal/sb"
8
9
10 type SelectSQLGenerator struct {
11 mock.Mock
12 }
13
14
15 func (_m *SelectSQLGenerator) Dialect() string {
16 ret := _m.Called()
17
18 var r0 string
19 if rf, ok := ret.Get(0).(func() string); ok {
20 r0 = rf()
21 } else {
22 r0 = ret.Get(0).(string)
23 }
24
25 return r0
26 }
27
28
29 func (_m *SelectSQLGenerator) Generate(b sb.SQLBuilder, clauses exp.SelectClauses) {
30 _m.Called(b, clauses)
31 }
32
View as plain text