Versions icon indicating copy to clipboard operation
Versions copied to clipboard

About splitting golang versions

Open lqllife opened this issue 3 years ago • 2 comments

Hi awesome scoop developers. golang has multiple small versions, such as 1.19, 1.18, 1.17, etc, when I install from scoop, I can only get the lastest one, it's no convenient for installing different versions at the same time. can you split golang by versions like php, such as go1.19, go1.18, go1.17, etc. thanks!

lqllife avatar Aug 23 '22 03:08 lqllife

Have you tried scoop install [email protected]?

rashil2000 avatar Aug 23 '22 05:08 rashil2000

Have you tried scoop install [email protected]?

Yes, 1.17 Installation directory is the same with go lastest, the current link to 1.17 folder, but 1.17 also has some subversions, when go released a new subversions, scoop can't update.

I hope you can split golang versions like php, every subversion can be updated by scoop update *.

PS D:\SoftWares\Scoop\> scoop list php               
Installed apps matching 'php':

Name  Version Source   Updated             Info
----  ------- ------   -------             ----
php   8.1.9   main     2022-08-23 10:35:46
php72 7.2.34  versions 2022-08-23 11:51:26
php73 7.3.33  versions 2022-08-23 11:47:13
php74 7.4.30  versions 2022-08-23 10:55:46
PS D:\SoftWares\Scoop> scoop list go 
Installed apps matching 'go':

Name    Version Source           Updated             Info
----    ------- ------           -------             ----
go      1.17    <auto-generated> 2022-08-23 13:48:51
PS D:\SoftWares\Scoop\apps\go> dir

    Directory: D:\SoftWares\Scoop\apps\go

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----         2022/8/23  1:48 pm                1.17
d----         2022/8/16  3:46 pm                1.17.13
d----         2022/8/16 11:42 am                1.18.5
d----         2022/8/16 11:42 am                1.19
l-r--         2022/8/23  1:48 pm                current -> D:\SoftWares\Scoop\apps\go\1.17

lqllife avatar Aug 23 '22 06:08 lqllife