Initial cloud-services repo - gateway service + pkg modules
This commit is contained in:
20
pkg/db/queries/mocks/rate_plan.go
Normal file
20
pkg/db/queries/mocks/rate_plan.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package mocks
|
||||
|
||||
import (
|
||||
"fiskerinc.com/modules/common"
|
||||
"fiskerinc.com/modules/db/queries"
|
||||
)
|
||||
|
||||
type MockRatePlan struct {
|
||||
queries.QueryBase
|
||||
SelectResponse []common.RatePlanTMobile
|
||||
DBMockHelper
|
||||
}
|
||||
|
||||
func (m *MockRatePlan) Select(version string) (*common.RatePlanTMobile, error) {
|
||||
return &common.RatePlanTMobile{
|
||||
Country: "US",
|
||||
ProductID: "12345",
|
||||
PlanName: "Fisker US 5G",
|
||||
}, nil
|
||||
}
|
||||
Reference in New Issue
Block a user