goutil icon indicating copy to clipboard operation
goutil copied to clipboard

Go1.18beta1 Generics can be used,What do you think?

Open xiaozuo7 opened this issue 3 years ago • 7 comments

Functions like Reverse ...to redo might be better related issue

xiaozuo7 avatar Dec 16 '21 08:12 xiaozuo7

😃 Waiting for the Generics official version to be released :)

inhere avatar Dec 16 '21 13:12 inhere

i dont want the Generics. it is so difficult to read code

AnkoGo123 avatar Mar 06 '22 15:03 AnkoGo123

Is there any plans to upgrade to go1.18 ?

pokitpeng avatar May 02 '22 12:05 pokitpeng

@pokitpeng do you have any good advice?

inhere avatar May 05 '22 08:05 inhere

hi @xiaozuo7 @pokitpeng

Use new git branch or add new build tag to start upgrade Generics? Which is better?

inhere avatar May 09 '22 02:05 inhere

hi @xiaozuo7 @pokitpeng

Use new git branch or add new build tag to start upgrade Generics? Which is better?

use new git branch is a good idea. refer to another project https://github.com/duke-git/lancet

pokitpeng avatar May 10 '22 00:05 pokitpeng

@inhere I think both. First of all, you need to create a branch for developing generic dependencies, and second, stable versions of that branch should be identified with distinguishable tags.

xiaozuo7 avatar May 10 '22 01:05 xiaozuo7

hi @xiaozuo7 @pokitpeng

Since https://github.com/gookit/goutil/releases/tag/v0.6.0 is require go1.18+ and enable Generics

inhere avatar Nov 29 '22 03:11 inhere