Skip to content

Commit

Permalink
Update import codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
roeldev committed Jun 14, 2024
1 parent 708e746 commit 57fde3a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion buildinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ package buildinfo

import (
"encoding/json"
"github.com/go-pogo/errors"
"io"
"runtime"
"runtime/debug"
"strings"
"time"

"github.com/go-pogo/errors"
)

//goland:noinspection GoUnusedConst
Expand Down
3 changes: 2 additions & 1 deletion buildinfo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
package buildinfo

import (
"github.com/stretchr/testify/assert"
"runtime"
"runtime/debug"
"testing"
"time"

"github.com/stretchr/testify/assert"
)

var goVersion = runtime.Version()
Expand Down
3 changes: 2 additions & 1 deletion handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
package buildinfo

import (
"github.com/go-pogo/writing"
"net/http"

"github.com/go-pogo/writing"
)

// HTTPHandler is the http.Handler that writes BuildInfo bld as a JSON response
Expand Down
3 changes: 2 additions & 1 deletion handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
package buildinfo

import (
"github.com/stretchr/testify/assert"
"net/http/httptest"
"testing"

"github.com/stretchr/testify/assert"
)

func TestHttpHandler(t *testing.T) {
Expand Down

0 comments on commit 57fde3a

Please sign in to comment.