Commit Graph
6 Commits
Author SHA1 Message Date
Danny Canter 1e35b45f32 Bump go version to 1.17 in go.mod/CI (#230)
1.13 is sufficiently old at this point and net.ErrClosed from 1.16 will be nice
to use.

This change additionally runs go fmt to bring in the new 1.17 build tag syntax
and builds the binaries in our CI with 1.17+.

Signed-off-by: Daniel Canter <dcanter@microsoft.com>
2022-04-05 15:56:47 -07:00
Michael Hofmann c4cf81c481 Replace github.com/pkg/errors with stdlib errors
Since Go version 1.13, the standard library has built-in support for
wrapping and unwrapping of error values.  This commit bumps the minimum
version required by the module from 1.12 to 1.13, replaces all calls to
errors.Wrap/f with fmt.Errorf and removes the now unneeded dependency on
github.com/pkg/errors.

Signed-off-by: Michael Hofmann <michael.hofmann@bitgestalt.com>
2021-12-01 11:09:15 +01:00
Sebastiaan van Stijn 6734ca5406 go.mod: sirupsen/logrus v1.7.0, golang.org/x/sys
full diff: https://github.com/sirupsen/logrus/compare/v1.4.2...v1.7.0

logrus v1.7.0 removes dependency on github.com/konsorten/go-windows-terminal-sequences

Features:

* a new buffer pool management API has been added
* a set of `<LogLevel>Fn()` functions have been added

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-02-09 11:02:59 +01:00
Sebastiaan van Stijn 00446faf93 go.mod: github.com/pkg/errors v0.9.1
update to pkg/errors v0.9.1 for compatibility with Go 1.13
error (un)wrapping.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-11-23 21:09:12 +01:00
Kevin Parsons f272bf30b3 Add new process package
Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
2019-09-18 18:03:14 -07:00
Kevin Parsons f9e746f4e5 Transition to Go modules
Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
2019-05-07 19:33:56 -07:00