[x] The URL used in the _getLatestVersion function has been corrected as below.
Previous URL used - const initial_url = 'https://${spec.provider}/${spec.namespace}/${spec.name}/@v/list' where the value of ${spec.provider} is golang which forms an incorrect URL.
Working URL updated to - const initial_url = 'https://proxy.golang.org/${spec.namespace}/${spec.name}/@v/list'
[x] Test case has been added to check the incoming URL to contain https://proxy.golang.org in all the go package requests.
[x] Updated providerMap variable to maintain the consistency of URL used throughout goFetch.js file.
[x] Variable name updated in the goFetchTests.js file from stub to goBaseURL for better understanding.
[x] The URL used in the _getLatestVersion function has been corrected as below.
const initial_url = 'https://${spec.provider}/${spec.namespace}/${spec.name}/@v/list'
where the value of${spec.provider}
is golang which forms an incorrect URL.const initial_url = 'https://proxy.golang.org/${spec.namespace}/${spec.name}/@v/list'
[x] Test case has been added to check the incoming URL to contain
https://proxy.golang.org
in all the go package requests.[x] Updated providerMap variable to maintain the consistency of URL used throughout goFetch.js file.
[x] Variable name updated in the goFetchTests.js file from stub to goBaseURL for better understanding.
This PR is related to #565 issue