diff --git a/function.go b/function.go index db23f74..fb699c9 100644 --- a/function.go +++ b/function.go @@ -32,4 +32,4 @@ func Length(arg interface{}) NumberExpression { func Sum(arg interface{}) NumberExpression { return function("SUM", arg) -} \ No newline at end of file +} diff --git a/order_test.go b/order_test.go index b4859b9..96cf5d2 100644 --- a/order_test.go +++ b/order_test.go @@ -8,7 +8,7 @@ import ( func TestOrder(t *testing.T) { e := expression{sql: "x"} assertValue(t, orderBy{by: e}, "x") - assertValue(t, orderBy{by: e, desc:true}, "x DESC") + assertValue(t, orderBy{by: e, desc: true}, "x DESC") assertError(t, orderBy{by: expression{builder: func(scope scope) (string, error) { return "", errors.New("error") }}})