Skip to content

Commit

Permalink
🎨 Cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed May 24, 2019
1 parent 2b5d3e0 commit 3e74dff
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions cache/settingcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package cache

import (
"fmt"

"github.com/b3log/pipe/model"
"github.com/bluele/gcache"
)
Expand Down
2 changes: 1 addition & 1 deletion controller/console/accountctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
package console

import (
"github.com/b3log/gulu"
"net/http"

"github.com/b3log/gulu"
"github.com/b3log/pipe/service"
"github.com/b3log/pipe/util"
"github.com/gin-gonic/gin"
Expand Down
2 changes: 1 addition & 1 deletion controller/console/blogctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ package console

import (
"crypto/tls"
"github.com/b3log/gulu"
"net/http"
"strconv"
"time"

"github.com/b3log/gulu"
"github.com/b3log/pipe/model"
"github.com/b3log/pipe/service"
"github.com/b3log/pipe/util"
Expand Down
2 changes: 1 addition & 1 deletion controller/console/categoryctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
package console

import (
"github.com/b3log/gulu"
"net/http"
"strconv"

"github.com/b3log/gulu"
"github.com/b3log/pipe/model"
"github.com/b3log/pipe/service"
"github.com/b3log/pipe/util"
Expand Down
2 changes: 1 addition & 1 deletion controller/console/commentctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
package console

import (
"github.com/b3log/gulu"
"html/template"
"net/http"
"strconv"

"github.com/b3log/gulu"
"github.com/b3log/pipe/model"
"github.com/b3log/pipe/service"
"github.com/b3log/pipe/util"
Expand Down
2 changes: 1 addition & 1 deletion controller/console/devctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
package console

import (
"math/rand"
"net/http"
"strconv"

"github.com/b3log/pipe/model"
"github.com/b3log/pipe/service"
"github.com/b3log/pipe/util"
"github.com/gin-gonic/gin"
"math/rand"
)

// GenArticlesAction generates articles for testing.
Expand Down
2 changes: 1 addition & 1 deletion controller/console/navigationctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
package console

import (
"github.com/b3log/gulu"
"net/http"
"strconv"

"github.com/b3log/gulu"
"github.com/b3log/pipe/model"
"github.com/b3log/pipe/service"
"github.com/b3log/pipe/util"
Expand Down
2 changes: 1 addition & 1 deletion controller/console/settingctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
package console

import (
"github.com/b3log/gulu"
"net/http"
"net/url"
"path"
"strconv"
"strings"

"github.com/b3log/gulu"
"github.com/b3log/pipe/model"
"github.com/b3log/pipe/service"
"github.com/b3log/pipe/util"
Expand Down
2 changes: 1 addition & 1 deletion controller/console/tagctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
package console

import (
"github.com/b3log/gulu"
"math"
"net/http"
"strconv"

"github.com/b3log/gulu"
"github.com/b3log/pipe/model"
"github.com/b3log/pipe/service"
"github.com/b3log/pipe/util"
Expand Down
2 changes: 1 addition & 1 deletion controller/console/themectl.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
package console

import (
"github.com/b3log/gulu"
"net/http"

"github.com/b3log/gulu"
"github.com/b3log/pipe/model"
"github.com/b3log/pipe/service"
"github.com/b3log/pipe/theme"
Expand Down
2 changes: 1 addition & 1 deletion controller/console/userctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
package console

import (
"github.com/b3log/gulu"
"net/http"

"github.com/b3log/gulu"
"github.com/b3log/pipe/model"
"github.com/b3log/pipe/service"
"github.com/b3log/pipe/util"
Expand Down

0 comments on commit 3e74dff

Please sign in to comment.