make application with base logic
This commit is contained in:
17
internal/common/client/sravni/noop.go
Normal file
17
internal/common/client/sravni/noop.go
Normal file
@ -0,0 +1,17 @@
|
||||
package sravni
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.loyso.art/frx/kurious/internal/common/errors"
|
||||
)
|
||||
|
||||
type NoopClient struct{}
|
||||
|
||||
func (NoopClient) GetMainPageState() (*PageState, error) {
|
||||
return nil, errors.ErrNotImplemented
|
||||
}
|
||||
|
||||
func (NoopClient) ListEducationalProducts(context.Context, ListEducationProductsParams) (ListEducationProductsResponse, error) {
|
||||
return ListEducationProductsResponse{}, errors.ErrNotImplemented
|
||||
}
|
||||
Reference in New Issue
Block a user