fixed makefile

+ lint & fmt
This commit is contained in:
kolaente 2018-07-25 17:30:29 +02:00 committed by konrad
parent 32b369e2e4
commit 8f2a24298d
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
4 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ EXTRA_GOFLAGS ?=
LDFLAGS := -X "main.Version=$(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')" -X "main.Tags=$(TAGS)"
PACKAGES ?= $(filter-out code.vikunja.io/api/integrations,$(shell go vikunja ./... | grep -v /vendor/))
PACKAGES ?= $(filter-out code.vikunja.io/api/integrations,$(shell go list ./... | grep -v /vendor/))
SOURCES ?= $(shell find . -name "*.go" -type f)
TAGS ?=

View File

@ -1,9 +1,9 @@
package v1
import (
"code.vikunja.io/api/models"
"crypto/md5"
"encoding/hex"
"code.vikunja.io/api/models"
"github.com/dgrijalva/jwt-go"
"github.com/labstack/echo"
"net/http"

View File

@ -1,8 +1,8 @@
package v1
import (
"fmt"
"code.vikunja.io/api/models"
"fmt"
"github.com/dgrijalva/jwt-go"
"github.com/labstack/echo"
)

View File

@ -1,8 +1,8 @@
package crud
import (
"fmt"
"code.vikunja.io/api/models"
"fmt"
"github.com/labstack/echo"
"net/http"
)