Versions in this module Expand all Collapse all v0 v0.0.9 Feb 14, 2022 v0.0.8 Feb 14, 2022 Changes in this version + type Auth interface + GetByToken func(ctx context.Context, token string) (model.User, error) + type MockAuth struct + func (_m *MockAuth) EXPECT() *MockAuth_Expecter + func (_m *MockAuth) GetByToken(ctx context.Context, token string) (model.User, error) + type MockAuth_Expecter struct + func (_e *MockAuth_Expecter) GetByToken(ctx interface{}, token interface{}) *MockAuth_GetByToken_Call + type MockAuth_GetByToken_Call struct + func (_c *MockAuth_GetByToken_Call) Return(_a0 model.User, _a1 error) *MockAuth_GetByToken_Call + func (_c *MockAuth_GetByToken_Call) Run(run func(ctx context.Context, token string)) *MockAuth_GetByToken_Call + type MockSubject struct + func (_m *MockSubject) EXPECT() *MockSubject_Expecter + func (_m *MockSubject) Get(ctx context.Context, id uint32) (model.Subject, error) + type MockSubject_Expecter struct + func (_e *MockSubject_Expecter) Get(ctx interface{}, id interface{}) *MockSubject_Get_Call + type MockSubject_Get_Call struct + func (_c *MockSubject_Get_Call) Return(_a0 model.Subject, _a1 error) *MockSubject_Get_Call + func (_c *MockSubject_Get_Call) Run(run func(ctx context.Context, id uint32)) *MockSubject_Get_Call + type Subject interface + Get func(ctx context.Context, id uint32) (model.Subject, error)