Re: [go-nuts] Ghost/indirect dependency on a custom package

2024-02-20 Thread Mike Schinkel
Is there no `cmd/migrations/go.mod`? Have you not tried debugging with Delve? -Mike On Tuesday, February 20, 2024 at 5:29:19 AM UTC-5 Peter Bočan wrote: > That seems to work on the repo/go.mod level, if I am not mistaken. I would > need something finer on the binary/compilation unit level. >

Re: [go-nuts] Ghost/indirect dependency on a custom package

2024-02-20 Thread Peter Bočan
That seems to work on the repo/go.mod level, if I am not mistaken. I would need something finer on the binary/compilation unit level. Peter. On Tuesday 20 February 2024 at 10:19:04 UTC Jan Mercl wrote: > On Tue, Feb 20, 2024 at 11:07 AM Peter Bočan wrote: > > > Is there a way to debug this? Is

Re: [go-nuts] Ghost/indirect dependency on a custom package

2024-02-20 Thread Jan Mercl
On Tue, Feb 20, 2024 at 11:07 AM Peter Bočan wrote: > Is there a way to debug this? Is there a way to step over the initialisation > order? I try to get help from '$ go mod graph' in similar investigations. -- You received this message because you are subscribed to the Google Groups "golang-

[go-nuts] Ghost/indirect dependency on a custom package

2024-02-20 Thread Peter Bočan
Hello Gophers! I am facing a very odd issue. I have recently joined a company and wrote a small database migration binary which is co-located in the same github repo as the service which database migrations it. For whatever reason the DB migration binary, when it runs on the cluster, it manag