import (
"encoding/json"
"fmt"
"golang.org/x/tools/internal/semver"
)
...
***\app.go:6:2: use of internal package golang.org/x/tools/internal/semver not allowed
import (
"encoding/json"
"fmt"
"golang.org/x/tools"
)
...
import "golang.org/x/mod/semver"