DORSETRIGS
Home

go-modules (7 post)


posts by category not found!

go modules - replace does not work - replacement module without version must be directory path (rooted or starting with

Go Modules Resolving the replace does not work Error with Directory Paths Go modules provide a robust system for managing dependencies in your Go projects Howev

2 min read 06-10-2024 44
go modules - replace does not work - replacement module without version must be directory path (rooted or starting with
go modules - replace does not work - replacement module without version must be directory path (rooted or starting with

How to `go get` private repos using SSH key auth with password

Fetching Private Repositories with go get Using SSH Key Authentication and a Password Gos go get command is a powerful tool for retrieving and managing dependen

2 min read 05-10-2024 46
How to `go get` private repos using SSH key auth with password
How to `go get` private repos using SSH key auth with password

GoLand project in a submodule directory can't find `go.mod` file in parent directory. Can a submodule GoLand project integrate with rest of module?

Understanding Go Land Projects Handling Submodules and go mod Files When working with Go projects especially those that utilize modules you may encounter the is

2 min read 17-09-2024 43
GoLand project in a submodule directory can't find `go.mod` file in parent directory. Can a submodule GoLand project integrate with rest of module?
GoLand project in a submodule directory can't find `go.mod` file in parent directory. Can a submodule GoLand project integrate with rest of module?

Building with Fyne - cannot find -lopengl32: No such file or directory

Cannot find lopengl32 No such file or directory Building Fyne Applications on Windows Trying to build your Fyne application on Windows and encountering the drea

2 min read 13-09-2024 52
Building with Fyne - cannot find -lopengl32: No such file or directory
Building with Fyne - cannot find -lopengl32: No such file or directory

Same struct in two different packages Golang

The Perils of Identical Structs in Different Packages A Golang Guide Imagine you re working on a large Golang project with multiple packages You need to define

2 min read 13-09-2024 59
Same struct in two different packages Golang
Same struct in two different packages Golang

What is the purpose of the `go mod vendor` command?

Understanding the go mod vendor Command Why and When to Use It The go mod vendor command is a powerful tool in the Go ecosystem but its purpose might not be imm

3 min read 04-09-2024 50
What is the purpose of the `go mod vendor` command?
What is the purpose of the `go mod vendor` command?

Go install, but repo and module declared are not a match

Go Install Mismatch Between Repo and Module Declaration When working with Go modules you might encounter an error message like this github com company x afctl v

3 min read 27-08-2024 46
Go install, but repo and module declared are not a match
Go install, but repo and module declared are not a match