Created
February 18, 2020 09:54
-
-
Save bykof/c4c4b3bcfef72b9b325f1e15bb6d3364 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package infrastructure | |
import ( | |
"dashboard/order/domain/entity" | |
) | |
type FakeOrderService struct{} | |
func (fakeOrderService FakeOrderService) GetOrder(id string) (entity.Order, error) { | |
return entity.Order{ | |
ID: id, | |
UserID: "1234", | |
Sum: 12.4, | |
}, nil | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment