Skip to content

Commit

Permalink
Adds method String() on all statements and renames the stringer metho…
Browse files Browse the repository at this point in the history
…d to return only the supported verion of the query for Adwords API
  • Loading branch information
hgouchet committed Jan 18, 2017
1 parent 6b225a1 commit 576c5bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion statement.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ type Limit struct {
// Stmt formats the query output.
type Stmt interface {
VerticalOutput() bool
fmt.Stringer
}

// Statement enables to format the query output.
Expand Down Expand Up @@ -228,7 +229,7 @@ type SelectStmt interface {
OrderList() []Orderer
StartIndex() int
PageSize() (int, bool)
fmt.Stringer
LegacyString() string
}

// SelectStatement represents a AWQL SELECT statement.
Expand Down

0 comments on commit 576c5bd

Please sign in to comment.