format code

This commit is contained in:
Deng Ming
2022-12-23 10:25:06 +08:00
committed by Ming Deng
parent ef55bd0fac
commit 0bee140abb
64 changed files with 35 additions and 109 deletions

View File

@@ -29,7 +29,6 @@
// go globalSessions.GC()
// }
//
// more docs: http://beego.vip/docs/module/session.md
package couchbase
import (

View File

@@ -29,7 +29,6 @@
// go globalSessions.GC()
// }
//
// more docs: http://beego.vip/docs/module/session.md
package memcache
import (

View File

@@ -37,14 +37,12 @@
// go globalSessions.GC()
// }
//
// more docs: http://beego.vip/docs/module/session.md
package mysql
import (
"context"
"net/http"
// import mysql driver
_ "github.com/go-sql-driver/mysql"
"github.com/beego/beego/v2/adapter/session"

View File

@@ -47,14 +47,12 @@
// go globalSessions.GC()
// }
//
// more docs: http://beego.vip/docs/module/session.md
package postgres
import (
"context"
"net/http"
// import postgresql Driver
_ "github.com/lib/pq"
"github.com/beego/beego/v2/adapter/session"

View File

@@ -29,7 +29,6 @@
// go globalSessions.GC()
// }
//
// more docs: http://beego.vip/docs/module/session.md
package redis
import (

View File

@@ -29,7 +29,6 @@
// go globalSessions.GC()
// }
//
// more docs: http://beego.vip/docs/module/session.md
package redis_cluster
import (

View File

@@ -24,7 +24,6 @@
// go globalSessions.GC()
// }
//
// more docs: http://beego.vip/docs/module/session.md
package session
import (