From f20f2f83ec0e6d981737e0991d560820419ce6de Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 14 Jan 2026 19:16:51 +0000 Subject: [PATCH] Update readme to exlpain installing the package with Go. --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5bb0132..5bf9162 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,21 @@ Since the package is hosted in the Gitea Package Registry, you must configure yo **Setup:** ```bash -export GOPROXY=[https://git.fjla.uk/api/packages/owlboard/go,https://proxy.golang.org,direct](https://git.fjla.uk/api/packages/owlboard/go,https://proxy.golang.org,direct) +# Set the proxy to check our Gitea instance first +go env -w GOPROXY="https://git.fjla.uk/api/packages/OwlBoard/go,https://proxy.golang.org,direct" + +# Trust our internal domain and skip the public Google checksum database +go env -w GONOSUMDB="git.fjla.uk" +``` + +The, you can simply run go get, as usual. + +#### Container Usage +```bash +ARG GOPROXY=https://git.fjla.uk/api/packages/OwlBoard/go,https://proxy.golang.org,direct +ARG GONOSUMDB=git.fjla.uk +ENV GOPROXY=$GOPROXY +ENV GONOSUMDB=$GONOSUMDB ``` ### 2. Typescript Services