solved a number of problems highlighted by the syntax analyzer

This commit is contained in:
2024-12-27 07:46:11 +01:00
parent 24e31997fc
commit cca3b76baa
6 changed files with 29 additions and 28 deletions
+4 -4
View File
@@ -5,7 +5,7 @@
package expr
import (
"errors"
// "errors"
"fmt"
)
@@ -43,6 +43,6 @@ func errNoOperation(name string) error {
return fmt.Errorf("no %s() function defined in the data-source", name)
}
func errInvalidDataSource() error {
return errors.New("invalid data-source")
}
// func errInvalidDataSource() error {
// return errors.New("invalid data-source")
// }