impi
impi copied to clipboard
Verify proper golang import directives, beyond the capability of gofmt and goimports.
I noticed whilst testing changes over the weekend that a deadlock can occur if a local prefix is supplied that doesn't match any import (unsure what the exact reason is...
If we have code like: ```go import ( "fmt" "net/http" "os" goruntime "runtime" "strings" "unsafe" "github.com/nuclio/nuclio/pkg/errors" "github.com/nuclio/nuclio/pkg/processor/runtime" "github.com/nuclio/logger" "github.com/nuclio/nuclio-sdk-go" ) /* #include #include #include "types.h" extern response_t call_handler(unsigned long event_ptr,...