Golang

Bit of a newbie question here, but I've set up a local Forgejo server in my homelab that I'm using for personal projects. I've created some modules that I want to be able to reference in other local projects.

Trying to run

go get code.mydomainname.com/tapdattl/test

returns

go: downloading code.mydomainname.com/tapdattl/test v1.0.0
go: code.mydomainname.com/tapdattl/test@v1.0.0: verifying module: code.mydomainname.com/tapdattl/test@v1.0.0: reading https://sum.golang.org/lookup/code.mydomainname.com/tapdattl/test@v1.0.0: 404 Not Found
        server response: not found: code.mydomainname.com/tapdattl/test@v1.0.0: unrecognized import path "code.mydomainname.com/tapdattl/test": https fetch: Get "https://code.mydomainname.com/tapdattl/test?go-get=1": dial tcp <my netbird ip address>:443: connect: connection refused

However I know my Forgejo server is up, and I can push to it and clone from it and do all the normal Git workflows. But Go apparently can't talk to it.

Can anyone explain what's going on?

Thanks!!

Looking at it again, I'm guessing the part where sum.golang.org/lookup tries to query my behind-netbird server is why the lookup is failing. But is there a way to gave Go not rely on an external service like that? Or have it run the query locally instead of from the sum.golang.org server?

3 replies

Double AI agents: What′s hiding in your Golang code

20d 9h ago by programming.dev/u/CodiUnicorn in golang@programming.dev from pvs-studio.com
-212

The 10 Go Error Handling Commandments

26d 10h ago by programming.dev/u/CodiUnicorn in golang@programming.dev from preslav.me
603

Introducing the pkg.go.dev API

27d 58m ago by sh.itjust.works/u/steam_lover in golang@programming.dev from go.dev
504

Building a Distributed Search Engine in Pure Go (Golang)

29d 2h ago by infosec.pub/u/cm0002 in golang@programming.dev from antfly.io
305

Error handling in Go: Common pitfalls

1mon 10d ago by programming.dev/u/CodiUnicorn in golang@programming.dev from pvs-studio.com
416

3 reasons I’m choosing Taskfile over Make for my project automation

1mon 24d ago by programming.dev/u/marmelab in golang@programming.dev
227

When the compiler lies: breaking memory safety in safe Go

1mon 25d ago by programming.dev/u/CodiUnicorn in golang@programming.dev from ciolek.dev
1108

Idiomatic Go Question

1mon 25d ago by lemmy.world/u/tapdattl in golang@programming.dev
839

Common Go Mistakes - 100 Go Mistakes and How to Avoid Them

1mon 28d ago by lemmy.ml/u/Korkki in golang@programming.dev from 100go.co
14010

Eleven Tips for Structuring Your Go Projects

2mon 16d ago by programming.dev/u/CodiUnicorn in golang@programming.dev from www.alexedwards.net
4011

Generic methods coming to Go

2mon 22d ago by programming.dev/u/kamstrup in golang@programming.dev from github.com
17012

Type Construction and Cycle Detection

2mon 25d ago by sh.itjust.works/u/steam_lover in golang@programming.dev from go.dev
6013

Low-poly sphere with interactive lighting

2mon 26d ago by lemmy.world/u/monica_b1998 in golang@programming.dev from slicker.me
7014

//go:fix inline and the source-level inliner

3mon 8d ago by sh.itjust.works/u/steam_lover in golang@programming.dev from go.dev
11015

ro - Streams & reactive programming for Go (Golang)

3mon 12d ago by libretechni.ca/u/cm0002 in golang@programming.dev from github.com
5016

revive - Fast, configurable, extensible, flexible, and beautiful linter for Go (Golang)

3mon 12d ago by libretechni.ca/u/cm0002 in golang@programming.dev from github.com
4017

Best Practices for Secure Error Handling in Go (Golang)

3mon 12d ago by libretechni.ca/u/cm0002 in golang@programming.dev from golangweekly.com
8018

The operator ^ for exponentiation or for excluding: how not to confuse them?

3mon 13d ago by programming.dev/u/CodiUnicorn in golang@programming.dev from pvs-studio.com
5119

The next generations of Bubble Tea, Lip Gloss, and Bubbles are available now (Golang)

3mon 19d ago by infosec.pub/u/cm0002 in golang@programming.dev from golangweekly.com
2020

Allocating on the Stack

3mon 20d ago by mander.xyz/u/nemeski in golang@programming.dev from go.dev
6021

Malicious Go “crypto” Module Steals Passwords and Deploys Rekoobe Backdoor

3mon 20d ago by programming.dev/u/codeinabox in golang@programming.dev from socket.dev
14122

v2: Bubble Tea, Bubbles, and Lip Gloss

3mon 22d ago by kbin.earth/u/jwr1 in golang@programming.dev from media.kbin.earth
15223

No temp variables needed for pointers in Go 1.26

3mon 22d ago by infosec.pub/u/cm0002 in golang@programming.dev from pawelgrzybek.com
5024

Using go fix to modernize Go code

3mon 5h ago by mander.xyz/u/nemeski in golang@programming.dev from go.dev
10025

Go 1.26 is released - The Go Programming Language

4mon 7d ago by lemmy.ml/u/Korkki in golang@programming.dev from go.dev
12126

Go 1.26 interactive tour

4mon 11d ago by lemmy.ml/u/Korkki in golang@programming.dev from antonz.org
8027

Results from the 2025 Go Developer Survey

4mon 26d ago by programming.dev/u/codeinabox in golang@programming.dev from go.dev
16728

Finding and Fixing a 50,000 Goroutine Leak That Nearly Killed Production

5mon 3d ago by programming.dev/u/codeinabox in golang@programming.dev from skoredin.pro
5229

How to create your own Go static analyzer?

5mon 6d ago by programming.dev/u/CodiUnicorn in golang@programming.dev from pvs-studio.com
4030

The most popular Go dependency is…

5mon 11d ago by programming.dev/u/codeinabox in golang@programming.dev from blog.thibaut-rousseau.com
7131

Go 1.26 interactive tour

5mon 11d ago by lemmy.world/u/noumenon in golang@programming.dev from antonz.org
8032

A Practical guide to building a parser in Go

5mon 13d ago by programming.dev/u/codeinabox in golang@programming.dev from gagor.pro
11033

Some flexibility with Go's sumdb

5mon 19d ago by programming.dev/u/codeinabox in golang@programming.dev from blog.yossarian.net
8134

The Golang Zero Value Trap: How pgx v5 Exposed Silent Corruption

5mon 20d ago by programming.dev/u/codeinabox in golang@programming.dev from medium.com
11535

Go proposal: Secret mode

6mon 9d ago by lemmy.ml/u/cypherpunks in golang@programming.dev from antonz.org
11136

I just learned asdf was rewritten in Go this year

6mon 17d ago by programming.dev/u/lens0021 in golang@programming.dev from asdf-vm.com
1037

Event Sourcing in Go: From Zero to Production

6mon 25d ago by programming.dev/u/codeinabox in golang@programming.dev from skoredin.pro
7038

Graceful shutdown in Go

6mon 29d ago by programming.dev/u/codeinabox in golang@programming.dev from pawelgrzybek.com
5139

Go’s Sweet 16

6mon 23h ago by mander.xyz/u/nemeski in golang@programming.dev from go.dev
15040

formae is a 100% code-based, agentic IaC tool built from scratch for the modern age

7mon 7d ago by programming.dev/u/lens0021 in golang@programming.dev from github.com
3141

Animated Plasma Effect with Ebiten

7mon 17d ago by infosec.pub/u/cm0002 in golang@programming.dev from slicker.me
10042

The Green Tea Garbage Collector

7mon 21d ago by mander.xyz/u/nemeski in golang@programming.dev from go.dev
11043

How Memory Maps (mmap) Deliver 25x Faster File Access in Go

7mon 26d ago by lemmy.world/u/monica_b1998 in golang@programming.dev from info.varnish-software.com
7044

Native threading and multiprocessing in Go

8mon 7d ago by programming.dev/u/codeinabox in golang@programming.dev from antonz.org
6045

Release 0.8.0 - Support for subgraphs · AlexanderGrooff/mermaid-ascii

8mon 9d ago by programming.dev/u/lens0021 in golang@programming.dev from github.com
8046

Build an Asteroids Game with Raylib-go | by Tim Little | Oct, 2025

8mon 9d ago by lemmy.zip/u/cm0002 in golang@programming.dev from levelup.gitconnected.com
6047

Go is #2 among newer languages (Golang)

8mon 10d ago by sh.itjust.works/u/cm0002 in golang@programming.dev from antonz.org
8148

Flight Recorder in Go 1.25

8mon 21d ago by mander.xyz/u/nemeski in golang@programming.dev from go.dev
11049

Build a Water Simulation in Go with Raylib-go | by Tim Little | Sep, 2025

8mon 23d ago by piefed.social/u/cm0002 in golang@programming.dev from levelup.gitconnected.com
9150