Releases: zostay/go-std
Releases · zostay/go-std
v0.10.0
v0.9.1
- 🔨 Fixed buf in
strings.Indent
that caused a panic if the input string was empty.
v0.9.0
- Adding
maps.Flip
,maps.FlipSlice
, andsets.FlipMap
. - Adding
sets.All
,sets.Any
, andsets.None
. - The signature of
sets.Delete
andsets.Insert
has changed to use variadic args to allow multiple deletes and inserts in a single call, respectively.
v0.8.0
- Adding
bytes.ContainsOnly
,bytes.FromRange
,bytes.Reverse
,bytes.Indent
. - Adding
strings.Indent
. - Corrected documentation for
deferred.Error
which gave incorrect guidance on how to use it.
v0.7.0
- 💥 Breaking Change 💥: Now requires Go 1.20.
- Adding deferred.Error for helping with deferred error handling.
Release v0.6.0
- Adding slices.Insert
Release v0.5.0
- Adding fs.CreateFS, fs.WriteFileFS, fs.ReaderFS, fs.ReaderWriterFS, and fs.WriterFS
- Adding fs.MkdirAll and fs.WriteFile
Release v0.4.0
- Added maps.MergeInPlace.
- Added slices.MapSlice and slices.MapMap.
- maps.Merge now allocates room equal to the size of all input maps in the output map.
Release v0.3.0
- Added slices.FirstIndex and slices.GrepIndex.
- Added set.NewSized and set.Diff.
- Added maps.Diff.
- Fixed missing test coverage on generic.FirstNonNil and generic.FirstNonZero.
Release v0.2.0
- Added generic.FirstNonZero and generic.FirstNonNil.
- Added maps.Merge.