Fix linter errors

This commit is contained in:
go-jet 2021-05-16 19:10:43 +02:00
parent 3021a6a0fd
commit 38541522e6
7 changed files with 18 additions and 14 deletions

View file

@ -84,12 +84,12 @@ var TimestampzExp = jet.TimestampzExp
// RawArgs is type used to pass optional arguments to Raw method
type RawArgs = map[string]interface{}
// Raw can be used for any unsupported functions, operators or expressions.
// For example: Raw("current_database()")
// Raw helper methods for each of the postgres types
var (
// Raw can be used for any unsupported functions, operators or expressions.
// For example: Raw("current_database()")
Raw = jet.Raw
// Raw helper methods for each of the postgres type
RawInt = jet.RawInt
RawFloat = jet.RawFloat
RawString = jet.RawString

View file

@ -2,6 +2,7 @@ package postgres
import "github.com/go-jet/jet/v2/internal/jet"
// LATERAL derived tables constructor from select statement
func LATERAL(selectStmt SelectStatement) lateralImpl {
return lateralImpl{
selectStmt: selectStmt,