1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 07:20:55 +00:00

Format code

This commit is contained in:
Ming Deng 2020-07-22 23:00:06 +08:00
parent 9c51952db4
commit 30eb889a91
37 changed files with 133 additions and 133 deletions

View File

@ -16,9 +16,9 @@ package logs
import ( import (
"bytes" "bytes"
"strings"
"encoding/json" "encoding/json"
"fmt" "fmt"
"strings"
"time" "time"
) )

View File

@ -16,9 +16,9 @@ package logs
import ( import (
"bytes" "bytes"
"strings"
"encoding/json" "encoding/json"
"fmt" "fmt"
"strings"
"time" "time"
) )

View File

@ -31,13 +31,14 @@
// //
// more docs: http://beego.me/docs/module/session.md // more docs: http://beego.me/docs/module/session.md
package redis_cluster package redis_cluster
import ( import (
"github.com/astaxie/beego/session"
rediss "github.com/go-redis/redis"
"net/http" "net/http"
"strconv" "strconv"
"strings" "strings"
"sync" "sync"
"github.com/astaxie/beego/session"
rediss "github.com/go-redis/redis"
"time" "time"
) )

View File

@ -369,7 +369,6 @@ func TestFileSessionStore_SessionRelease(t *testing.T) {
t.Error(err) t.Error(err)
} }
s.Set(i, i) s.Set(i, i)
s.SessionRelease(nil) s.SessionRelease(nil)
} }

View File

@ -31,13 +31,14 @@
// //
// more docs: http://beego.me/docs/module/session.md // more docs: http://beego.me/docs/module/session.md
package redis_cluster package redis_cluster
import ( import (
"github.com/astaxie/beego/session"
rediss "github.com/go-redis/redis"
"net/http" "net/http"
"strconv" "strconv"
"strings" "strings"
"sync" "sync"
"github.com/astaxie/beego/session"
rediss "github.com/go-redis/redis"
"time" "time"
) )

View File

@ -369,7 +369,6 @@ func TestFileSessionStore_SessionRelease(t *testing.T) {
t.Error(err) t.Error(err)
} }
s.Set(i, i) s.Set(i, i)
s.SessionRelease(nil) s.SessionRelease(nil)
} }