Jet internal refactor.

This commit is contained in:
go-jet 2019-08-11 14:29:03 +02:00
parent 4fbf576370
commit ee4897a1e2
49 changed files with 481 additions and 2528 deletions

View file

@ -18,12 +18,12 @@ type CastImpl struct {
expression Expression
}
func NewCastImpl(expression Expression) CastImpl {
func NewCastImpl(expression Expression) Cast {
castImpl := CastImpl{
expression: expression,
}
return castImpl
return &castImpl
}
func (b *CastImpl) AS(castType string) Expression {