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

more goreport fixes #84

Merged
merged 1 commit into from
Nov 16, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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