Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Improving formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rehabaam committed Nov 12, 2023
1 parent 58dc146 commit 8d1794b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
5 changes: 3 additions & 2 deletions TDWorker.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package main

import (
"fmt"
"time"

"github.com/rehabaam/TDBackend/config"
labels "github.com/rehabaam/TDBackend/localization"
"github.com/rehabaam/TDBackend/logger"
commands "github.com/rehabaam/TDBackend/services"
"fmt"
"time"
)

// main func loads application's configurations and starts the HTTP server
Expand Down
3 changes: 2 additions & 1 deletion logger/logger.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
package logger

import (
labels "github.com/rehabaam/TDBackend/localization"
"fmt"
"os"
"strings"
"sync"
"time"

labels "github.com/rehabaam/TDBackend/localization"

"go.uber.org/zap"
"go.uber.org/zap/zapcore"
)
Expand Down
5 changes: 3 additions & 2 deletions middleware/logger_test.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
package middleware

import (
labels "github.com/rehabaam/TDBackend/localization"
applog "github.com/rehabaam/TDBackend/logger"
"crypto/tls"
"net/http"
"testing"
"time"

labels "github.com/rehabaam/TDBackend/localization"
applog "github.com/rehabaam/TDBackend/logger"

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

Expand Down
5 changes: 3 additions & 2 deletions services/common.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
package commands

import (
labels "github.com/rehabaam/TDBackend/localization"
"github.com/rehabaam/TDBackend/logger"
"fmt"
"io"
"net/http"
"os"
"path/filepath"
"time"

labels "github.com/rehabaam/TDBackend/localization"
"github.com/rehabaam/TDBackend/logger"

"github.com/gorilla/mux"
)

Expand Down
3 changes: 2 additions & 1 deletion services/common_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package commands

import (
"github.com/rehabaam/TDBackend/logger"
"bytes"
"encoding/json"
"fmt"
Expand All @@ -12,6 +11,8 @@ import (
"testing"
"time"

"github.com/rehabaam/TDBackend/logger"

"github.com/gorilla/mux"
)

Expand Down

0 comments on commit 8d1794b

Please sign in to comment.