Specify explicitly that use gocql.Session.NewBatch instead of the deprecated BatchBuilder.
This commit is contained in:
1 parent
b79c395c11
commit
d76ea6c678
1 file changed
+1
-1
+1
-1
@@ -24,7 +24,7 @@ type BatchBuilder struct {
|
||||
|
||||
// Batch returns a new BatchBuilder.
|
||||
//
|
||||
// Deprecated: use session.NewBatch() instead
|
||||
// Deprecated: Please use gocql.Session.NewBatch() instead.
|
||||
func Batch() *BatchBuilder {
|
||||
return &BatchBuilder{}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user