We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3798d15 commit 0530578Copy full SHA for 0530578
Dockerfile
@@ -17,7 +17,7 @@ COPY . .
17
RUN --mount=type=cache,target=/go/pkg/mod \
18
go generate .
19
20
-ENV GOEXPERIMENT=greenteagc CGO_ENABLED=0 GOOS=linux
+ENV GOEXPERIMENT="greenteagc,jsonv2" CGO_ENABLED=0
21
22
# Build the applications with cache mount for build cache
23
RUN --mount=type=cache,target=/root/.cache/go-build \
flake.nix
@@ -22,6 +22,8 @@
devShells = forEachSupportedSystem ({ pkgs }: {
24
default = pkgs.mkShell {
25
+ GOEXPERIMENT = "greenteagc,jsonv2";
26
+
27
packages = with pkgs; [
28
# go (version is specified by overlay)
29
go
0 commit comments