diff --git a/packages/sdk-codegen/src/go.gen.ts b/packages/sdk-codegen/src/go.gen.ts index 2f2d33fde..24a4d32c9 100644 --- a/packages/sdk-codegen/src/go.gen.ts +++ b/packages/sdk-codegen/src/go.gen.ts @@ -371,11 +371,15 @@ import ( "time" ) +type authSessionDoer interface { + Do(result interface{}, method, ver, path string, reqPars map[string]interface{}, body interface{}, options *rtl.ApiSettings) error +} + type LookerSDK struct { - session *rtl.AuthSession + session authSessionDoer } -func NewLookerSDK(session *rtl.AuthSession) *LookerSDK { +func NewLookerSDK(session authSessionDoer) *LookerSDK { return &LookerSDK{ session: session, }