- Uses a yaml configuration to specify loading images locally from disk or over http
- requestId : "1234"
imageUrl: "C:/images/tree.jpg"
itemBarcode: "9876"
- requestId : "123456"
imageUrl: "https://images.unsplash.com/photo-1453728013993-6d66e9c9123a?ixid=MnwxMjA3fDB8MHxzZWFyY2h8Mnx8dmlld3xlbnwwfHwwfHw%3D&ixlib=rb-1.2.1&w=1000&q=80"
itemBarcode: "9876"
go run main.go -imgconfig=<path to yaml config>
go build -o imagestub.exe
.\imagestub.exe