microsoft / durabletask-go

The Durable Task Framework is a lightweight, embeddable engine for writing durable, fault-tolerant business logic (orchestrations) as ordinary code.
Apache License 2.0
178 stars 25 forks source link

Few cosmetic tweaks #65

Closed ItalyPaleAle closed 5 months ago

ItalyPaleAle commented 5 months ago

Just some small cosmetic tweaks.

  1. 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.
  2. Fixed a warning due to log.Fatalf not supporting %w