added golint dependecy to travis-ci.yml

This commit is contained in:
Philippe-Adrien Nousse 2018-07-31 15:38:07 +02:00
parent 4a40cce344
commit 8e7100b367
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ stages:
- test
before_script:
- go get -u golang.org/x/lint/golint
- go get -u github.com/kardianos/govendor
- mkdir -p /go/src/github.com/partitio
- cp -r $CI_PROJECT_DIR /go/src/github.com/partitio/gonextcloud

View File

@ -5,6 +5,7 @@ import (
"net/http"
)
//Monitoring return nextcloud monitoring statistics
func (c *Client) Monitoring() (*types.Monitoring, error) {
res, err := c.baseRequest(routes.monitor, "", "", nil, http.MethodGet)
if err != nil {