Assume my project's file structure is this:
.
├── main.go
└── ui
├── controls
│ ├── control.go
│ ├── constants.go
│ ├── container.go
│ ├── label.go
└── views
└── view.go
All files in ui/controls
are in a package called controls
and view.go
is in the views
package. I want code in the views
package to be able to reference an interface defined in control.go
.
I'm using Go 1.14. Is what I want possible at all?