Skip to content

Releases: DylanMeeus/hasgo

Updated handling nils / empty slices

22 Feb 18:10
Compare
Choose a tag to compare

Release notes

  • The All(predicate) function now returns true if the slice is empty.
  • Added tests for Go 1.16
  • Improved testing for nil and empty strings

New functions and new generator flag

09 Feb 22:02
924244a
Compare
Choose a tag to compare

New generator flag

You can now specify an output file name for the generated functions such as

//go:generate hasgo -N=myname -T=int64 -S=Ints

New functions

These functions can now be generated:

  • Group
  • Foldr
  • Foldr1
  • Scanl
  • IsPrefixOf

Fixes

  • Foldl function was implemented in Foldr style, now fixed

New functions and golint fixes

27 Oct 16:10
Compare
Choose a tag to compare

New Functions

  • Span
  • Break
  • TakeWhile
  • DropWhile
  • Drop

Fixes

  • golint now runs as part of build script
  • fix various golint issues regarding godoc

Adds Elem function generation

28 Sep 13:22
Compare
Choose a tag to compare

Add elem (contains) function generation

Functions, Types and Generator as modules

15 Sep 14:24
Compare
Choose a tag to compare
v1.0.2

Update go mod for funcs

v1.0.1

15 Sep 13:57
Compare
Choose a tag to compare

Update function modules

Initial stable

15 Sep 13:48
Compare
Choose a tag to compare

Release 1.0.0 to indicate stability for Hasgo.