Skip to content

Commit 7cb55a6

Browse files
improves documentation for temporary fieldSelectionOptions struct
1 parent 641b3ab commit 7cb55a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/github/projects.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ func DeleteProjectItem(getClient GetClientFn, t translations.TranslationHelperFu
843843

844844
type fieldSelectionOptions struct {
845845
// Specific list of field IDs to include in the response. If not provided, only the title field is included.
846-
// Example: fields=102589,985201,169875 or fields[]=102589&fields[]=985201&fields[]=169875
846+
// The comma tag encodes the slice as comma-separated values: fields=102589,985201,169875
847847
Fields []int64 `url:"fields,omitempty,comma"`
848848
}
849849

0 commit comments

Comments
 (0)