I have a test app
-heyworld
heyworld.go
–stack
stack.go
How can I use the package stack which located in the subdirectory?
I use this way:
package main
import (
“fmt”
“./stack”
)
and it works when I run the app.
But When I build the Docker it gives me an error.