Functions go doc.

This commit is contained in:
go-jet 2019-08-14 10:11:43 +02:00
parent 13c671fa3f
commit 4ab9d73a8b
7 changed files with 141 additions and 59 deletions

View file

@ -39,7 +39,7 @@ type StatementWithProjections interface {
}
type HasProjections interface {
projections() []Projection
projections() ProjectionList
}
type SerializerStatementInterfaceImpl struct {
@ -116,7 +116,7 @@ type StatementImpl struct {
Clauses []Clause
}
func (s *StatementImpl) projections() []Projection {
func (s *StatementImpl) projections() ProjectionList {
for _, clause := range s.Clauses {
if selectClause, ok := clause.(ClauseWithProjections); ok {
return selectClause.projections()