//
pkg.gl
Category
github.com/packtpublishing/hands-on-dependency-injection-in-go
ch11
03_mocking_http_requests
package
0.0.0-20230118092103-de70ca622e41
Repository:
https://github.com/packtpublishing/hands-on-dependency-injection-in-go.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
0
Files
146 SLOC
#
Functions
NewConverter
NewConverter creates and initializes the converter.
#
Structs
Converter
Converter will convert the base price to the currency supplied.
Requesterer
Requesterer is the default implementation of Requester.
#
Interfaces
Config
Config is the config for Converter.
Logger
No description provided by the author
Requester
Requester builds and sending HTTP requestsgo:generate mockery -name=Requester -case underscore -testonly -inpkg -note @generated.