Configuration - jasonknight/gobay GitHub Wiki
I chose to use YAML (wrongly, but what is done is done) for the configuration. You are expected in SDK calls to provide a []byte
of YAML data to be unmarshalled. The main configuration sample is in test_data/
.
test.yml
DevID: "1234567"
AppID: "777777"
CertID: "8asd8890"
CompatLevel: "967"
SiteID: "3"
EndPoint: "http://ebay.com"
EbayAuthToken: "adkfanjsd'fjawoefnaldknadklfnasl;d"
Country: "GB"
Currency: "GBP"
PayPalEmailAddress: "[email protected]"
Language: "en_GB"
WarningLevel: "High"
Cache: ".cache"