Grokking Advanced Go
Vote

0% completed

​

Workspaces

An engineer needs a new Discount function in the pricing module and a call to it in the orders module, and both modules are in one parent directory on the same machine. To test them together before publishing pricing, the engineer adds a replace line to orders/go.mod. Everything works, the change is committed, and the next build on the build server fails.

main.go:7:2: example.com/pricing@v1.0.0: replacement directory ../pricing does not exist

The replace line is correct only on a machine that has that directory, and the commit sent it to every machine

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content