How can i force xcaddy to use another of my installed versions of go?

This issue has been created since 2022-04-14.

I have go 1.18 as my base version and have installed 1.17.9 as described in https://go.dev/doc/manage-install .
So if i run go version I get go version go1.18 windows/amd64 and if I do go1.17.9 version i get go version go1.17.9 windows/amd64

When i try to build a new caddy with xcaddy I stumble upon issue #90 .

Is there a way to force xcaddy to pick the 1.17 go environment?

mholt wrote this answer on 2022-04-18

Thanks for the PR. That's a good question, I agree we could support this easily enough. I'll comment on the PR. Cheers!

More Details About Repo
Owner Name caddyserver
Repo Name xcaddy
Full Name caddyserver/xcaddy
Language Go
Created Date 2020-03-21
Updated Date 2022-09-22
Star Count 381
Watcher Count 14
Fork Count 72
Issue Count 3

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Parallel programming 1 2021-02-05 2022-09-26
Customise column format 0 2021-06-27 2022-08-06
Suggestion: dynamically get tex math zones 1 2020-05-19 2022-09-24
fedlab.utils.serialization.SerializationTool无法完整序列化模型状态 6 2022-06-25 2022-07-05
K8SSAND-1659 ⁃ Prohibit `/` in Medusa bucket names 0 2022-07-15 2022-08-14
how to load norm texture? 2 2022-05-03 2022-09-06
remove useless log.L() 1 2022-07-04 2022-07-13
TiCDC supprots filterling DDL/DML event by event type and SQL expression. 0 2022-07-04 2022-07-04
关于安装报错,环境变量错误等信息的一种可能解决方法。 1 2021-12-20 2022-08-21
Cannot read property 'persist' of undefined 0 2021-12-15 2022-09-08
[Bug]: Inappropriate timeout period causes abnormal data on the status monitoring interface. 0 2021-09-13 2022-07-17
MangaLife | manga4life.com 1 2022-02-04 2022-08-11
SQlite INTEGER should map to i64 not i32 2 2022-09-24 2022-09-29
Seed data in migration without using ActiveModel? 1 2022-09-23 2022-09-29
Could not parse expression with acorn: Unexpected token 2 2021-08-16 2022-09-20
Add search screen navigation in drawer 25 2021-05-02 2022-07-26
Add share image / video directly 0 2021-05-02 2022-07-27
[Bug]: Cannot run git command [WINDOWS 10] 5 2022-07-25 2022-09-09
Git push , Pull cmd not working in obsidian palatte 3 2022-07-22 2022-09-09
[HELP] Connectors Message Formats 1 2022-01-05 2022-09-23
Support virtual workspaces 1 2021-05-07 2022-09-21
Update Access Grant table component 0 2022-07-19 2022-08-18
When moving a project, the hard-coded absolute interpreter path in bins break 1 2021-10-18 2022-09-18
Consolidate commissioning reads of general commissioning cluster using wildcards 1 2022-02-01 2022-07-15
sort out use of networking cluster for ethernet 1 2022-02-01 2022-08-02
[Group] Implement Group Encryption/Decryption 0 2022-02-01 2022-08-09
"Display nodata as" color widget is not automatically updated in layer styling panel 0 2021-09-18 2022-08-27
if I accidentally select the Highlight category and then select the intro category before uploading then the two boxes for the time do not come back. 1 2021-09-08 2022-08-07
ReactiveComponent re renders custom component within render props 1 2021-06-02 2022-09-22
Regna's Sanction not working correctly 1 2021-12-13 2022-07-15
Provide performance related documentation 5 2021-07-12 2022-09-21
Replace v1.BPRelationRouteBuilder with a v2 pendant 0 2021-11-05 2022-09-28
blockchain new command of an existing blockchain name should fail 0 2018-12-21 2022-09-26
Sentry Gradle Configurations failing gradle sync with v2.0.0-alpha.3 5 2021-05-24 2022-09-08
Share Filename Conflicts 1 2022-06-01 2022-09-09
After docs update the page is loaded from cache without latest changes 0 2021-02-18 2022-09-24
Add more flexible intervals 2 2017-03-17 2022-09-22
Enable master branch protection 4 2020-07-18 2022-09-16
get[Date]AsDate functions throw invalid Exception 4 2020-12-01 2022-09-15
Misleading variable naming in `dask_worker.py` 1 2022-05-11 2022-07-20
Unable to Login from Android devices. 1 2021-12-06 2022-09-02
Invoke-DataPlaneGenerateSDKPackage.ps1 will fail the first time 1 2022-05-10 2022-09-24
bug: aria-label on ion-back-button is not propagated to native button 3 2021-10-05 2022-09-26
Chinese dictionary doesn't work on Win10 5 2020-03-26 2022-08-06
How to ignore some commands in Latex 0 2021-06-05 2022-08-08
Add ability to listen for resumption/suspension via a context element 0 2022-08-18 2022-09-13
Convert model to ONNX format 1 2020-11-23 2022-09-07
Isola: Add block CSS to the editor so that colors work as expected 2 2021-10-01 2022-09-27
Considering monitoring system usage 4 2020-11-02 2022-09-07
Public transportation lines corrupted 4 2021-08-06 2022-08-22