21 lines
393 B
Go
21 lines
393 B
Go
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
|
|
}
|