Skip to content

New sub-package `github.com/huandu/go-clone/generic` with generic APIs

Choose a tag to compare

@huandu huandu released this 06 Sep 12:00
· 24 commits to master since this release

Package clone supports generic now!

  • For users who want to opt-in Go generic syntax for cleaner APIs, new package github.com/huandu/go-clone/generic is your best choice. To import this package, Go 1.18+ is required.
  • For users who are not ready for Go 1.18+, you can continue to stick on github.com/huandu/go-clone.

All features of these two packages will be the same in the future.