Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
Sort By Relevance
Sort By Date
1–30 of many
Cyrill Troxler
,
Ian Lance Taylor
3
Aug 24
Finding imports that increase memory usage
importing certain
modules
can substantially > increase observed RSS even though nothing is visibly being allocated on the > heap when looking at pprof. For example, take the
unread,
Finding imports that increase memory usage
importing certain
modules
can substantially > increase observed RSS even though nothing is visibly being allocated on the > heap when looking at pprof. For example, take the
Aug 24
Miki Tebeka
,
Def Ceb
3
Aug 13
tool directive and versioning
, you also get a require directicve with the version. The version is specified there. https://go.dev/doc/
modules
/managing-dependencies#tools Ahhh! Missed that. Thanks!
unread,
tool directive and versioning
, you also get a require directicve with the version. The version is specified there. https://go.dev/doc/
modules
/managing-dependencies#tools Ahhh! Missed that. Thanks!
Aug 13
anno...@golang.org
,
Carlos Amedee
2
Jul 8
Go 1.25 Release Candidate 2 is released
from building
modules
, but will result in binaries omitting VCS related build information. If this behavior is expected by the user, the old behavior can be re-enabled by setting GODEBUG
unread,
Go 1.25 Release Candidate 2 is released
from building
modules
, but will result in binaries omitting VCS related build information. If this behavior is expected by the user, the old behavior can be re-enabled by setting GODEBUG
Jul 8
anno...@golang.org
Jul 8
[security] Go 1.24.5 and Go 1.23.11 are released
from building
modules
, but will result in binaries omitting VCS related build information. If this behavior is expected by the user, the old behavior can be re-enabled by setting GODEBUG
unread,
[security] Go 1.24.5 and Go 1.23.11 are released
from building
modules
, but will result in binaries omitting VCS related build information. If this behavior is expected by the user, the old behavior can be re-enabled by setting GODEBUG
Jul 8
Jason E. Aten
, …
Robert Engels
7
May 11
single instance of package/mutex in a build?
of Go
modules
. Which is why it's possible to use two > major versions of a module in the same build in the first place. > > You could potentially dynamically enforce that
unread,
single instance of package/mutex in a build?
of Go
modules
. Which is why it's possible to use two > major versions of a module in the same build in the first place. > > You could potentially dynamically enforce that
May 11
Samuel Littley
,
Jim Idle
3
Mar 10
`golang.org/x/tools/go/packages: unexpected new packages during load` when upgrading to 1.24.1
all the
modules
. There is actually a test which runs gosec > , > but this seems to be working fine after upgrading that repository to 1.24.1 > (although that test is loading significantly
unread,
`golang.org/x/tools/go/packages: unexpected new packages during load` when upgrading to 1.24.1
all the
modules
. There is actually a test which runs gosec > , > but this seems to be working fine after upgrading that repository to 1.24.1 > (although that test is loading significantly
Mar 10
Jussi Nummelin
, …
Derek Parker
5
Mar 20
1.24+ FIPS support
watching other
modules
, I'd say it can be hard to predict how long it takes a module to proceed through the process. Up to a year maybe? Have you looked at GOEXPERIMENT=boringcrypto
unread,
1.24+ FIPS support
watching other
modules
, I'd say it can be hard to predict how long it takes a module to proceed through the process. Up to a year maybe? Have you looked at GOEXPERIMENT=boringcrypto
Mar 20
Björn Försterling
, …
peterGo
5
Feb 23
Why Does $GOPATH/src Not Exist?
> Developing
modules
. > > Go Documentation > https://go.dev/ > https://go.dev/learn/ > https://go.dev/doc/ > > Some YouTube video book review, found
unread,
Why Does $GOPATH/src Not Exist?
> Developing
modules
. > > Go Documentation > https://go.dev/ > https://go.dev/learn/ > https://go.dev/doc/ > > Some YouTube video book review, found
Feb 23
Jeffery Carr
, …
Axel Wagner
26
Feb 6
"go-import" is great, we need "go-delete"
deleting malicious
modules
already exists, an automated one available to the general public is inadvisable and one only available to the module author will do nothing, as they are
unread,
"go-import" is great, we need "go-delete"
deleting malicious
modules
already exists, an automated one available to the general public is inadvisable and one only available to the module author will do nothing, as they are
Feb 6
Doug Fawley
, …
thepud...@gmail.com
4
12/22/24
Removing a module from a multi-module repository
a removed
modules
within a repo so that any consumer that points to one of the module in the repo automatically gets ratcheted forward to a consistent version of the other module within
unread,
Removing a module from a multi-module repository
a removed
modules
within a repo so that any consumer that points to one of the module in the repo automatically gets ratcheted forward to a consistent version of the other module within
12/22/24
cpu...@gmail.com
, …
Jeffery Carr
13
12/22/24
Working with release candidates
doc/
modules
/gomod-ref does not mention RC versions, >>>> while https://go.dev/doc/toolchain does. >>>> >>>> Can RC versions be required
unread,
Working with release candidates
doc/
modules
/gomod-ref does not mention RC versions, >>>> while https://go.dev/doc/toolchain does. >>>> >>>> Can RC versions be required
12/22/24
John Robinson
,
Robert Findley
2
11/7/24
gopls breaking imports?
when adding
modules
from the standard library or remote > sources. But I haven't found anyone with the same problem in the archives > here, gopls issues, or elsewhere. BBEdit
unread,
gopls breaking imports?
when adding
modules
from the standard library or remote > sources. But I haven't found anyone with the same problem in the archives > here, gopls issues, or elsewhere. BBEdit
11/7/24
rojiu
,
Ian Lance Taylor
3
10/22/24
Unintuitive error message for external modules that lack a go.mod
Since the
modules
within the same repository can be used without placing a go.mod in each of them, I mistakenly thought that an external module uploaded to GitHub also wouldn't
unread,
Unintuitive error message for external modules that lack a go.mod
Since the
modules
within the same repository can be used without placing a go.mod in each of them, I mistakenly thought that an external module uploaded to GitHub also wouldn't
10/22/24
Frederik Zipp
, …
Michael Whatcott
3
8/22/24
Advancing the container/set design?
operability between
modules
, even if the implementation is trivial. > > > > On Monday, July 1, 2024 at 7:43:19 PM UTC+2 Frederik Zipp wrote: > >> Some time ago
unread,
Advancing the container/set design?
operability between
modules
, even if the implementation is trivial. > > > > On Monday, July 1, 2024 at 7:43:19 PM UTC+2 Frederik Zipp wrote: > >> Some time ago
8/22/24
Tong Sun
,
Brian Candler
2
8/17/24
About code under the examples folder and lib module
for Go
modules
to provide > usage examples, everything under the same `examples` folder, or > different packages having their own `examples` folders, or other ways? thx. >
unread,
About code under the examples folder and lib module
for Go
modules
to provide > usage examples, everything under the same `examples` folder, or > different packages having their own `examples` folders, or other ways? thx. >
8/17/24
Tim Hockin
,
Jason E. Aten
5
7/29/24
go/types with typedef-of-typedef?
handles modern
modules
(versus the older "golang.org/x/tools/go/loader ", pointed to/demonstrated above, which does not). Q: In golang, How do you make the jump from
unread,
go/types with typedef-of-typedef?
handles modern
modules
(versus the older "golang.org/x/tools/go/loader ", pointed to/demonstrated above, which does not). Q: In golang, How do you make the jump from
7/29/24
Robert Engels
, …
Jan Mercl
11
7/16/24
Importing non-module based code
to use
modules
. > > > >> On Jul 16, 2024, at 8:47 AM, Jan Mercl <0xj...@gmail.com > wrote: > >> > >> On Tue, Jul 16, 2024 at 3:41 PM 'Robert
unread,
Importing non-module based code
to use
modules
. > > > >> On Jul 16, 2024, at 8:47 AM, Jan Mercl <0xj...@gmail.com > wrote: > >> > >> On Tue, Jul 16, 2024 at 3:41 PM 'Robert
7/16/24
Akash Kumar
, …
ben...@gmail.com
3
6/26/24
why we still need lock file ?
all the
modules
, as you indicate. What go.sum contains are cryptographic hashes of all the module contents, allowing the Go tooling to verify that what it downloads are the same bytes
unread,
why we still need lock file ?
all the
modules
, as you indicate. What go.sum contains are cryptographic hashes of all the module contents, allowing the Go tooling to verify that what it downloads are the same bytes
6/26/24
Stephen Illingworth
,
Marcin Romaszewicz
3
6/18/24
Modules 'replace' directive
understand how
modules
work, but none-the-less it seems odd to me. Hopefully, someone will be able to explain it. As for the replace directive, I've always viewed it as a temporary
unread,
Modules 'replace' directive
understand how
modules
work, but none-the-less it seems odd to me. Hopefully, someone will be able to explain it. As for the replace directive, I've always viewed it as a temporary
6/18/24
Tony M
, …
Zxilly Chou
8
6/18/24
strip / reduce module compile size
from these
modules
? > > goweight gcloud-lite > 11 MB runtime > 7.7 MB net/http > 5.3 MB google.golang.org/protobuf/internal/impl > 5.2 MB google.golang.org
unread,
strip / reduce module compile size
from these
modules
? > > goweight gcloud-lite > 11 MB runtime > 7.7 MB net/http > 5.3 MB google.golang.org/protobuf/internal/impl > 5.2 MB google.golang.org
6/18/24
TheDiveO
4
5/25/24
Upgrading to last version of dependency without upgrading toolchain?
to discover
modules
: exit status 1 stderr=go: >>> loading module retractions for k8s.io/a...@v0.26.2 >>> : module k8s.io/a...@v0.30.0 >>> requires
unread,
Upgrading to last version of dependency without upgrading toolchain?
to discover
modules
: exit status 1 stderr=go: >>> loading module retractions for k8s.io/a...@v0.26.2 >>> : module k8s.io/a...@v0.30.0 >>> requires
5/25/24
andrew.p...@gmail.com
,
wagner riiffel
4
5/22/24
vet: Respect PATH
to go
modules
resolving packages is somehow slow, I definitely feel a delay when using programs that takes packages as an argument, that's very noticeable when you're in a
unread,
vet: Respect PATH
to go
modules
resolving packages is somehow slow, I definitely feel a delay when using programs that takes packages as an argument, that's very noticeable when you're in a
5/22/24
simon place
,
Ian Lance Taylor
7
5/6/24
just started using modules, what have i missed? (continuation..)
is this all due to 1.22 no longer being backwardly supportive of non-modlarised packages and the large number of non-modularised packages, that are
unread,
just started using modules, what have i missed? (continuation..)
is this all due to 1.22 no longer being backwardly supportive of non-modlarised packages and the large number of non-modularised packages, that are
5/6/24
simon place
, …
burak serdar
5
5/2/24
just started using modules, what have i missed?.
On Thursday 2 May 2024 at 22:45:55 UTC+1 burak serdar wrote: You can simply clone the github repo. You don't need go get for this. When you're
unread,
just started using modules, what have i missed?.
On Thursday 2 May 2024 at 22:45:55 UTC+1 burak serdar wrote: You can simply clone the github repo. You don't need go get for this. When you're
5/2/24
Harmen
,
Anthony Martin
3
4/30/24
command to pre-compile vendor libs
vendor/
modules
.txt |grep -v '#'|grep -v sys/windows|grep -v tpmutil/tbs|grep -v internal` In order to keep the cache key valid I can't depend on my own code, I can only
unread,
command to pre-compile vendor libs
vendor/
modules
.txt |grep -v '#'|grep -v sys/windows|grep -v tpmutil/tbs|grep -v internal` In order to keep the cache key valid I can't depend on my own code, I can only
4/30/24
王富民awaw
, …
Tony M
5
4/24/24
Offline version of A Tour of Go
any older
modules
before the "go get" deprecation On Tuesday, September 26, 2023 at 7:22:41 AM UTC-7 Pankaj Jangid wrote: > go install golang.org/x/website/tour@
unread,
Offline version of A Tour of Go
any older
modules
before the "go get" deprecation On Tuesday, September 26, 2023 at 7:22:41 AM UTC-7 Pankaj Jangid wrote: > go install golang.org/x/website/tour@
4/24/24
Xiangrong Fang
, …
Jolyon Direnko-Smith
9
4/18/24
go mod conflict whith v2 pre-release
long after
modules
were introduced and have never had to deal with GOPATH mode, which probably explains why I didn't read the aspects relating to that (or wiped them from my memory
unread,
go mod conflict whith v2 pre-release
long after
modules
were introduced and have never had to deal with GOPATH mode, which probably explains why I didn't read the aspects relating to that (or wiped them from my memory
4/18/24
twp...@gmail.com
,
Jason Phillips
4
4/8/24
pkg.go.dev: redirect URL for latest major version or big red warning for old version
working for
modules
, but not major versions. I'm not sure I see the distinction, a new major version is a new module. > Is there any way for google/go-github add a deprecation
unread,
pkg.go.dev: redirect URL for latest major version or big red warning for old version
working for
modules
, but not major versions. I'm not sure I see the distinction, a new major version is a new module. > Is there any way for google/go-github add a deprecation
4/8/24
Nikhilesh Susarla
,
Axel Wagner
2
4/1/24
Module vs Package
are inside
modules
. > Package is nothing but collection of go files under a folder of that > package name > > But without
modules
also we can import packages. > > Can
unread,
Module vs Package
are inside
modules
. > Package is nothing but collection of go files under a folder of that > package name > > But without
modules
also we can import packages. > > Can
4/1/24
Bima lely
, …
Cleberson Pedreira Pauluci
5
3/28/24
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
Hi Bima, prefer text instead of prints. It's faster to help somebody. There's two ways to fix that problem. 1 - You need to use the same module
unread,
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
Hi Bima, prefer text instead of prints. It's faster to help somebody. There's two ways to fix that problem. 1 - You need to use the same module
3/28/24