incu6us / goimports-reviser

Right imports sorting & code formatting tool (goimports alternative)
MIT License
586 stars 75 forks source link

Update standard packages #119

Closed michenriksen closed 1 year ago

michenriksen commented 1 year ago

After updating to Go 1.21 and using the new slog package in a project, I noticed that the import of log/slog was not treated as part of the std import group.

This PR updates StdPackages with the new packages introduced in go1.21.0.

codecov[bot] commented 1 year ago

Codecov Report

Merging #119 (987dbcc) into master (390547f) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #119   +/-   ##
=======================================
  Coverage   83.74%   83.74%           
=======================================
  Files           8        8           
  Lines         406      406           
=======================================
  Hits          340      340           
  Misses         53       53           
  Partials       13       13           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more