Skip to content

Commit

Permalink
Add a comment to the NewJobQueueItem() function
Browse files Browse the repository at this point in the history
  • Loading branch information
prep committed May 18, 2016
1 parent f28e9ea commit adaff07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jobqueue.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ type JobQueueItem struct {
touchAt time.Time
}

// NewJobQueueItem creates and returns a JobQueueItem.
func NewJobQueueItem() *JobQueueItem {
item := &JobQueueItem{}
item.Clear()
Expand Down

0 comments on commit adaff07

Please sign in to comment.