Hi,I'm facing an issue with go workspaces.My project structure is like 
root directory 
- go.work file in root 
daemon directory 
   daemon go.mod 
cmd directory 
   cmd go.mod,
and go.work file is 
go 1.25.4

use (
./cmd
./daemon
), go mod files are 
module github.com/fatih881/ebpf-ips/daemon

go 1.25.4

require ( ... 
and 
module github.com/fatih881/ebpf-ips/cmd

go 1.25.4
in the cmd/main.go file,I have an error in 
//go:build cmd

package main
No packages found for open file /home/sysadmin/ebpf-ips-safe/cmd/main.go. 
I tried troubleshooting for a while but I can't find a solution.I can 
provide more info in need or create a issue if it's a bug.Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/38d4e912-7eb7-4b30-bf1a-dd54e6dd8de6n%40googlegroups.com.

Reply via email to