Format & reorder imports

This commit is contained in:
Jannis Mattheis 2018-02-16 21:28:23 +01:00 committed by Jannis Mattheis
parent 9c47b73b1d
commit 6a5357f9b3
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ import (
)
const (
headerName = "X-Gotify-Key"
headerName = "X-Gotify-Key"
)
// The Database interface for encapsulating database access.

View File

@ -9,8 +9,8 @@ import (
"strings"
"unicode"
"gopkg.in/go-playground/validator.v8"
"github.com/gotify/server/model"
"gopkg.in/go-playground/validator.v8"
)
// Handler creates a gin middleware for handling errors.

View File

@ -8,8 +8,8 @@ import (
"testing"
"github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert"
"github.com/gotify/server/model"
"github.com/stretchr/testify/assert"
)
func TestDefaultErrorInternal(t *testing.T) {