Skip to content

Releases: zostay/go-std

v0.10.0

04 Dec 22:09
7f1d4fd
Compare
Choose a tag to compare
  • Adding strings.TrimToOnly.

v0.9.1

15 Oct 22:18
4717bcf
Compare
Choose a tag to compare
  • 🔨 Fixed buf in strings.Indent that caused a panic if the input string was empty.

v0.9.0

03 Sep 21:47
f2cb16f
Compare
Choose a tag to compare
  • Adding maps.Flip, maps.FlipSlice, and sets.FlipMap.
  • Adding sets.All, sets.Any, and sets.None.
  • The signature of sets.Delete and sets.Insert has changed to use variadic args to allow multiple deletes and inserts in a single call, respectively.

v0.8.0

25 Jun 21:44
bb719ad
Compare
Choose a tag to compare
  • 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

14 Jun 04:58
Compare
Choose a tag to compare
  • 💥 Breaking Change 💥: Now requires Go 1.20.
  • Adding deferred.Error for helping with deferred error handling.

Release v0.6.0

13 Aug 03:58
Compare
Choose a tag to compare
  • Adding slices.Insert

Release v0.5.0

26 Jul 02:11
Compare
Choose a tag to compare
  • Adding fs.CreateFS, fs.WriteFileFS, fs.ReaderFS, fs.ReaderWriterFS, and fs.WriterFS
  • Adding fs.MkdirAll and fs.WriteFile

Release v0.4.0

14 Jul 19:09
Compare
Choose a tag to compare
  • 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

14 Jul 04:55
Compare
Choose a tag to compare
  • 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

08 Jul 16:45
Compare
Choose a tag to compare
  • Added generic.FirstNonZero and generic.FirstNonNil.
  • Added maps.Merge.