In the WorkItem interface, change the required method to IsWorkItem() bool which better identifies objects that are work items. Renamed Description() string to String() string so it implements the more idiomatic fmt.Stringer.
Fixed a warning due to log.Fatalf not supporting %w
Just some small cosmetic tweaks.
IsWorkItem() bool
which better identifies objects that are work items. RenamedDescription() string
toString() string
so it implements the more idiomaticfmt.Stringer
.log.Fatalf
not supporting%w