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

This issue has been created since 2021-12-16.

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

inhere wrote this answer on 2021-12-16

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

AnkoGo123 wrote this answer on 2022-03-06

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

pokitpeng wrote this answer on 2022-05-02

Is there any plans to upgrade to go1.18 ?

inhere wrote this answer on 2022-05-05

@pokitpeng do you have any good advice?

inhere wrote this answer on 2022-05-09

hi @xiaozuo7 @pokitpeng

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

pokitpeng wrote this answer on 2022-05-10

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

xiaozuo7 wrote this answer on 2022-05-10

@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.

inhere wrote this answer on 2022-11-29

hi @xiaozuo7 @pokitpeng

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

More Details About Repo
Owner Name gookit
Repo Name goutil
Full Name gookit/goutil
Language Go
Created Date 2018-07-03
Updated Date 2023-03-22
Star Count 1263
Watcher Count 29
Fork Count 142
Issue Count 3

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Error Traceback (most recent call last) 0 2022-12-03 2023-03-13
This build of python cannot create venvs without using symlinks 1 2022-10-21 2023-03-20
Detect robot-object collisions 2 2020-10-05 2023-02-06
Ensure all operations require minimum valuable input 0 2022-08-10 2023-03-23
Failed to open epub file 1 2021-02-22 2023-02-28
Index Out Of Range when selecting WiFi Adapter 2 2021-08-21 2023-02-03
Error generating for require-from-string 7 2021-02-23 2023-02-20
How to execute linkfinder as a command in terminal from anywhere ? 1 2021-03-28 2023-02-23
Extract light client implementations into separate crates 0 2022-06-24 2023-01-30
👑[Enhancement] Windows10环境下界面UI尺寸蹩脚 5 2022-06-08 2022-11-13
🐛 BUG: The compiler doesn't parse fragments correctly 0 2022-08-08 2023-02-28
[Bug] parser AST outputs "const" as "constant" 1 2022-05-18 2023-03-17
Feature request 1 2021-11-18 2022-01-22
Converting variable adds additional $ sign sometimes 1 2022-07-04 2023-02-24
The chinese words are messy codes in the log-file when turn on logging in the "Session Property" setting window 3 2021-09-14 2023-02-17
Include all fields returned by Yahoo in getOptionChain 2 2020-11-24 2023-03-05
Problem with connectors (Error 500 : ConnectorsStatusQuery) 0 2022-05-11 2023-03-23
How translate enum array? 3 2020-11-04 2023-03-05
Different form control value (regarding inclusion of prefix) when 'dropSpecialCharacters' is on/off 1 2022-06-14 2023-03-04
Feature Request: Conditionally enable/disable setting 3 2019-03-25 2023-03-19
Create a warning when constructor name is used as variable in match 1 2022-06-08 2023-03-21
[Bug] Fix context under db creation (Close #207) 7 2021-05-17 2023-01-28
Song requests of scheduled playlists available all day long 3 2023-02-25 2023-03-23
No issue. PC CHIPS G3101 / Paradise PEGA1A EGA card (AUTO MODE HEGA) profiles. 2 2023-01-04 2023-02-20
macvtap-cni might terminate in case of stress listing / deleting devices 4 2021-06-30 2023-03-08
Moving the tram with circuits can absolutely destroy the tram, breaking the universe 5 2022-07-18 2023-03-23
Asset exclusion in android targets is broken when `--persistent_android_resource_processor` is enabled 3 2021-11-05 2023-02-17
Failed to execute "mvn install" at branch 2.x 1 2022-07-22 2023-02-26
Spell check does not work correctly on MacOS Safari with Cyrillic characters 0 2022-08-22 2023-03-17
[MINOR] Filter based on subdirectory 0 2021-10-06 2023-02-03
Create a working group 5 2020-12-18 2023-02-24
Extra framing and validation information for extension 1 2021-05-26 2021-10-11
Editor: rotation of children is reset when container is refreshed 3 2022-03-19 2023-03-04
Help behavior button in Unsupported Block Editor doesn't work on iOS, loses edits on Android 4 2021-12-03 2023-02-15
Gradle IT for VertxHealthCheckEnricher 0 2022-08-24 2023-03-23
How to get token in register handler? 2 2022-05-19 2023-03-06
About atoms and nodes 7 2022-10-14 2023-03-12
Update README and Helpbook for 3.0.0 1 2021-08-31 2023-02-12
Security Center Workspace Setting Returns an Error Message Even When Successful 8 2022-10-24 2023-02-24
[WIP] Raise RuntimeError when models are missing get_module() implementation 2 2021-11-23 2023-01-22
Support for complex types 7 2017-05-16 2022-12-30
Return error when resource is already reserved or locked 1 2021-02-23 2023-03-20
forAll sample size incorrectly set to constant 1 5 2021-10-01 2023-02-01
Supports Spring Cloud Vault 2 2020-06-19 2023-02-02
azurerm_private_endpoint missing group Id for key vault, but subresource_names is set 2 2022-05-11 2022-09-24
Support for Azure SQL Extended Auditing Policy Action Groups 0 2022-05-11 2023-02-26
Can't create storage account - fails with "404 storage account not found" for the very storage account it's trying to create 3 2022-05-11 2023-03-15
Cannot quit REPLACE state with a custom keybind 2 2021-06-04 2023-03-17
Feature Request: Add an examples folder 2 2022-04-06 2023-02-16
Dangerous upgrade from 1.6.0 to 1.7.0 if the procedure is not followed 4 2021-08-04 2023-03-20