You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`juju` is written in Go (http://golang.org), a modern, compiled, statically typed,
34
+
`juju` is written in [Go](https://go.dev/), a modern, compiled, statically typed,
33
35
concurrent language.
34
36
35
37
Generally, Juju is built against the most recent version of Go, with the caveat that Go versions are not incremented during a release cycle. This means that `develop` will typically be using the latest version of Go, but any given release branch may lag by one version or so. Check the `go.mod` file at the root of the project for the targeted version of Go, as this is authoritative.
36
38
37
-
For example, the following indicates that Go 1.18 is targeted:
39
+
For example, the following indicates that Go 1.19 is targeted:
38
40
39
41
```
40
42
module github.com/juju/juju
41
43
42
-
go 1.18
44
+
go 1.19
43
45
```
44
46
45
47
### Official distribution
@@ -50,7 +52,7 @@ Go can be [installed](https://golang.org/doc/install#install) from the official
50
52
51
53
[Snap](https://snapcraft.io/go) may also be used to install Go on Linux.
52
54
53
-
snap install go --channel=1.18/stable --classic
55
+
snap install go --channel=1.19/stable --classic
54
56
55
57
## Build Juju and its dependencies
56
58
@@ -150,7 +152,7 @@ running the check as a pre-commit hook also works.
150
152
Staying in sync
151
153
---------------
152
154
153
-
Make sure your local copy and github fork stay in sync with upstream:
155
+
Make sure your local copy and GitHub fork stay in sync with upstream:
154
156
155
157
```bash
156
158
cd juju
@@ -169,7 +171,8 @@ external repositories so that Juju is insulated from changes to those repos.
169
171
go mod
170
172
------
171
173
172
-
Juju uses Go modules to manage dependencies. Therfore you don't need to do anything to ensure you are building with the correct versions.
174
+
Juju uses Go modules to manage dependencies. Your Go installation will ensure
175
+
you are building with the correct version - you don't need to do anything.
0 commit comments