Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #84 from yuce/more-goreport-fixes
Browse files Browse the repository at this point in the history
more goreport fixes
  • Loading branch information
yuce authored Nov 16, 2017
2 parents cfb7285 + 25f4f35 commit 5368529
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,7 @@ func (qo *QueryOptions) addOptions(options ...interface{}) error {
// QueryOption is used when using options with a client.Query,
type QueryOption func(options *QueryOptions) error

// ColumnAttrs enables returning column attributes in the result.
func ColumnAttrs(enable bool) QueryOption {
return func(options *QueryOptions) error {
options.Columns = enable
Expand Down

0 comments on commit 5368529

Please sign in to comment.