Closed aiesam closed 5 years ago
You need go type go run goflow.go metrics.go
(missing import).
This will be fixed in version 3 (you can change the branch). Or directly use a binary / go build
in the directory.
Thanks. I tried it and it works. Will keep on experimenting. Thanks once again.
I get the following error when trying to run
./goflow.go:66:2: undefined: initMetrics ./goflow.go:109:2: undefined: NetFlowTemplatesStats ./goflow.go:157:4: undefined: NetFlowErrors ./goflow.go:164:4: undefined: NetFlowErrors ./goflow.go:171:4: undefined: NetFlowErrors ./goflow.go:178:4: undefined: NetFlowErrors ./goflow.go:192:3: undefined: NetFlowStats ./goflow.go:202:5: undefined: NetFlowSetStatsSum ./goflow.go:210:5: undefined: NetFlowSetRecordsStatsSum ./goflow.go:219:5: undefined: NetFlowSetStatsSum ./goflow.go:219:5: too many errors
I am not sure why