Skip to content

Instantly share code, notes, and snippets.

@RinniSwift
Last active April 18, 2019 22:43
Show Gist options
  • Save RinniSwift/b298d32157792a977b0e3185f04ff651 to your computer and use it in GitHub Desktop.
Save RinniSwift/b298d32157792a977b0e3185f04ff651 to your computer and use it in GitHub Desktop.
ServiceLayer.request(router: Router.getProductInfo) { (result: Result<[String : [CollectionItem]], Error>) in
switch result {
case .success:
print(result)
case .failure:
print(result)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment