Skip to content

v0.2.0

Compare
Choose a tag to compare
@cszatmary cszatmary released this 18 Dec 03:22
· 7 commits to master since this release
c575e2e

New packages:

errors: The new errors package provides functionality for creating and working with errors.

  • The Error type allows for created detailed errors. These errors can be wrapped to create detailed error chains.
  • The List type allows for creating lists of errors.
  • Provides all the same functionality as the standard library errors package so this package can be used as a replacement.

progress: The new progress package provides functionality for running operations and displaying their progress.

  • Provides the Logger, Spinner, and Tracker types for displaying progress.
  • Provides the Run and RunParallel functions for running operations.

text: The new text package provides functionality for working with text.

  • The ExpandVariables and ExpandVariablesString functions can be used to expand variables in text.

Minor Changes:

color:

  • Added the Black function to create black coloured strings.
  • Refactored implementation to be faster.

file:

  • Added the Untar function to extract tar archives onto the OS filesystem.

Breaking Changes:

fatal:

  • ShowStackTraces has been renamed to PrintDetailedError.