Update golangci-lint and turn it on in CI
This commit is contained in:
committed by
Sylwia Szunejko
parent
a9ab270196
commit
ab80d70106
@@ -34,7 +34,8 @@ func NewSession(session *gocql.Session) Session {
|
||||
// the created session to gocqlx.Session.
|
||||
//
|
||||
// Example:
|
||||
// session, err := gocqlx.WrapSession(cluster.CreateSession())
|
||||
//
|
||||
// session, err := gocqlx.WrapSession(cluster.CreateSession())
|
||||
func WrapSession(session *gocql.Session, err error) (Session, error) {
|
||||
return Session{
|
||||
Session: session,
|
||||
|
||||
Reference in New Issue
Block a user