Add the ability to fully customize jet generated files.

This commit is contained in:
go-jet 2021-07-27 17:39:21 +02:00
parent caa81930dc
commit 8864667f47
40 changed files with 2274 additions and 882 deletions

View file

@ -5,6 +5,7 @@ import (
"database/sql/driver"
"fmt"
"github.com/go-jet/jet/v2/internal/utils"
"github.com/go-jet/jet/v2/internal/utils/throw"
"reflect"
"strings"
)
@ -216,7 +217,7 @@ func (s *scanContext) rowElem(index int) interface{} {
value, err := valuer.Value()
utils.PanicOnError(err)
throw.OnError(err)
return value
}