mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
all: gofmt -w -r 'interface{} -> any' (#2874)
This commit is contained in:
@@ -19,7 +19,7 @@ type WriteDriver struct {
|
||||
}
|
||||
|
||||
// Exec writes its query and calls the underlying driver Exec method.
|
||||
func (w *WriteDriver) Exec(_ context.Context, query string, _, _ interface{}) error {
|
||||
func (w *WriteDriver) Exec(_ context.Context, query string, _, _ any) error {
|
||||
if !strings.HasSuffix(query, ";") {
|
||||
query += ";"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user