Gozero sqlgen patch (#119)
* merge upstream * optimize insert logic * reactor functions
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package project
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
@@ -136,5 +137,5 @@ func matchModule(data []byte) (string, error) {
|
||||
return strings.TrimSpace(target[index+6:]), nil
|
||||
}
|
||||
|
||||
return "", nil
|
||||
return "", errors.New("module not matched")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user