Commit Graph

30 Commits

Author SHA1 Message Date
Ikuo Degawa
d4f1d65d59
Create set-env.bash (#147)
* Create set-env.bash
* Update README.md
2024-09-24 21:01:27 -04:00
Allan Siqueira
e6edd35384
Add Support to nushell (#135) 2024-04-19 08:14:03 -04:00
Yusuke Iinuma
033730cb54
Use source command (. is deprecated) (#129) 2024-01-29 12:35:21 -05:00
Rusty
577a6c5fe0
Update installation and CI status url to match repo url (#114)
* Update installation url to match repo url

I also updated the command from `asdf plugin-add` to `asdf plugin add`
to match the official documentation.

Reference:
https://asdf-vm.com/manage/plugins.html

* Update plugin repository and CI status to asd-community for Go
2023-07-18 17:23:13 -04:00
Renato Oliveira
9f07a48cc1
Add dynamic GOROOT setting for fish (#103) 2023-05-23 21:13:26 -04:00
Kenny Parnell
3c3674a10c
Add support for ASDF_GOLANG_MOD_VERSION (#101)
* Emmit warning and change behavior based on ASDF_GOLANG_MOD_VERSION

* Add note on ASDF_GOLANG_MOD_VERSION to README.

* Rename to ASDF_GOLANG_MOD_VERSION_ENABLED.
2023-05-11 14:37:45 -04:00
Austin Cawley-Edwards
0f6f356b85
Add dynamic GOROOT setting for zsh (#56)
Co-authored-by: Kenny Parnell <k.parnell@gmail.com>
2023-05-09 10:40:46 -04:00
Kenny Parnell
f006a12d6e
Add ASDF_GOLANG_SKIP_CHECKSUM to skip verifying checksum. (#95)
Update README
2022-12-17 00:10:23 -05:00
Kenny Parnell
1c2311264e
Revert "fix: replace google with go url (#88)" (#94)
This reverts commit ae1c810a85.
2022-12-16 23:34:04 -05:00
Julien Bongars
ae1c810a85
fix: replace google with go url (#88)
Co-authored-by: julien <julien@undercurrent.tech>
2022-12-16 23:32:12 -05:00
Kenny Parnell
ffd0efbabd
Include go install in reshim note. 2022-02-28 14:46:41 -05:00
Kenny Parnell
d2660cee3b
Replace Travis with Github Actions 2021-11-17 11:42:24 -05:00
Kenny Parnell
09f1801f10
Speed Up list-all/latest (#63)
* Switch to git ls-remote instead of parsing bucket.

* Update README to point to Travis.com
2021-11-16 09:58:02 -05:00
Michael Poutre
85dab2f4f2
Add ASDF_GOLANG_OVERWRITE_ARCH override option (#62)
* Add ASDF_GOLANG_OVERWRITE_ARCH override option

This change adds an ASDF_GOLANG_OVERWRITE_ARCH variable to allow overriding the architecture. This is useful if you need to install version of Go that were not released for macOS ARM. This is also done in the asdf terraform plugin: e1c7eea0f7/bin/install (L115-L129)

* Update README to include section about ASDF_GOLANG_OVERWRITE_ARCH
2021-10-28 17:03:53 -04:00
Jake Romer
0d0f2320b8
Document ASDF_GOLANG_DEFAULT_PACKAGES_FILE (#60)
This patch adds documentation for the ASDF_GOLANG_DEFAULT_PACKAGES_FILE variable introduced in #59.
2021-09-09 14:14:08 -04:00
Craig Furman
bc51a8097f
Use highest matching minor version from go.mod (#50)
The go directive in go.mod files is of the format `major.minor`. This
commit will allow the highest installed version of go with the same
major component to be selected. The previous behaviour was to use the
highest installed version with the same major _and_ minor components,
but I don't think this was strictly necessary. It is valid to use go
1.16 to build a project whose go.mod declares "go 1.14", for example.
For packages within the module, the compiler should reject use of
language features introduced after the version specified by the go
directive.

I think this adheres more closely to the expected behaviour of programs
that parse `go.mod`, and asdf users who need to pin a particular minor
or patch version of go can use `.tool-versions` or `.go-version`.

Source: https://golang.org/ref/mod#go-mod-file-go
2021-06-16 08:04:20 -04:00
BeanNan
3950f3633c
add check_shasum (#44)
* add check_sum

* Update README

* fix typo
2021-01-04 13:18:00 -05:00
Jack McCown
44abfc842f
feat: support auto go get default packages (#30) 2020-06-16 18:11:29 -04:00
Trung Lê
b93b58b69e Support ppc64le architecture (#26)
* Support ppc64le version of Go

* Mention about ppc64le architecture in the README

* Test multi-arch on Travis CI

* Use commit SHA for plugin-gitref
2020-01-27 17:41:36 -05:00
Kenny Parnell
9a3e2cb87b
Merge pull request #25 from matt-e/support-aarch64
Support aarch64 (arm64)

Thanks @matt-e
2019-09-17 22:21:09 -04:00
Kenny Parnell
0c9024e71f Merge branch 'master' of github.com:kennyp/asdf-golang 2019-09-10 22:57:47 -04:00
Kenny Parnell
864d15576a Add note on using go get
Closes #18
2019-09-10 22:57:17 -04:00
Matthew Eddey
c6f1673d78 Support aarch64 (arm64) 2019-08-23 08:17:07 -07:00
Austin Cawley-Edwards
a31eacd783
Adding a Requirements section
Adds a requirements section. Ubuntu 16.04 no longer uses curl by default. Could switch to wget?
2018-02-25 13:30:34 -05:00
Kenny Parnell
fedcc5ca80 Update links in README from HashNuke to asdf-vm 2018-02-23 10:00:42 -05:00
Kenny Parnell
ceb54998d2 Incorporate changes from @vifino to support armv{6,7}l/Alpine Linux.
Closes #3
2018-01-22 11:00:40 -05:00
Kenny Parnell
2d4daf9ee1 Add Travis badge. 2016-08-29 22:01:14 -04:00
Kenny Parnell
8e0374e32e Another typo in the README 2016-02-29 02:36:42 -05:00
Kenny Parnell
d5ed64dfc0 Fix typo in README. 2016-02-29 02:24:49 -05:00
Kenny Parnell
defb8104b9 Initial Commit 2016-02-29 02:23:40 -05:00