Re: [go-nuts] Module vs Package

2024-03-31 Thread 'Axel Wagner' via golang-nuts
A package is the unit of compilation - the entire package is compiled in a step and it's also where unexported names are scoped to. A module is the unit of versioning - it's a bunch of packages versioned and distributed together. On Mon, Apr 1, 2024 at 8:43 AM Nikhilesh Susarla wrote: > Packages

[go-nuts] Module vs Package

2024-03-31 Thread Nikhilesh Susarla
Packages 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 someone point out the exact and main difference between package vs modules in golang. Thank you -- You received this message

Re: [go-nuts] [security] Go 1.22.2 and Go 1.21.9 pre-announcement

2024-03-31 Thread Russtopia!
Ah, xzutils issue is CVE-2024-3094, so hopefully unrelated. On March 31, 2024 4:27:45 a.m. PDT, Russtopia! wrote: >xz backdoor? Someone independently stumbled on it so do we all need to >distrust our Go binaries until this is released? Embargo on this CVE may have >been (accidentally) busted. >

Re: [go-nuts] [security] Go 1.22.2 and Go 1.21.9 pre-announcement

2024-03-31 Thread Russtopia!
xz backdoor? Someone independently stumbled on it so do we all need to distrust our Go binaries until this is released? Embargo on this CVE may have been (accidentally) busted. https://bsky.app/profile/filippo.abyssdomain.expert/post/3kowjkx2njy2b On March 29, 2024 2:40:07 p.m. PDT, annou...@go