upload/uploader.go
Method Uploader.doRequest
has 7 return statements (exceeds 4 allowed). Open
Open
func (u Uploader) doRequest(in io.Reader, url string) (*http.Response, error) {
c := http.Client{
Transport: u.newTransport(),
Timeout: 30 * time.Second,
}
Method Uploader.Upload
has 7 return statements (exceeds 4 allowed). Open
Open
func (u Uploader) Upload() error {
if u.ReporterID == "" {
return errors.New("you must supply a CC_TEST_REPORTER_ID ENV variable or pass it via the -r flag")
}
exported method Uploader.SendBatches should have comment or be unexported Open
Open
func (u Uploader) SendBatches(rep *TestReport, url string) error {
- Exclude checks
exported type Uploader should have comment or be unexported Open
Open
type Uploader struct {
- Exclude checks
exported method Uploader.Upload should have comment or be unexported Open
Open
func (u Uploader) Upload() error {
- Exclude checks
exported type ErrConflict should have comment or be unexported Open
Open
type ErrConflict struct {
- Exclude checks
exported method Uploader.TransformPostBatchURL should have comment or be unexported Open
Open
func (u Uploader) TransformPostBatchURL(rawURL string) (string, error) {
- Exclude checks