Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ascandella/18a9fa2a5ce1961ca4a91f01775e95ea to your computer and use it in GitHub Desktop.
Save ascandella/18a9fa2a5ce1961ca4a91f01775e95ea to your computer and use it in GitHub Desktop.
dot failure
scratch - master ❯ cat main.go
package main
import (
"fmt"
"github.com/sectioneight/dot-import-example/.dot"
"github.com/sectioneight/dot-import-example/_underscore"
)
func main() {
fmt.Println(dot.Dot)
fmt.Println(underscore.Underscore)
}
scratch - master ❯ dep init -v
dep: Finding dependencies for "scratch"...
dep: Found 1 dependencies.
dep: Building dependency graph...
dep: Found import of "github.com/sectioneight/dot-import-example/.dot", analyzing...
dep: Analyzing transitive imports...
dep: Analyzing "github.com/sectioneight/dot-import-example/_underscore"...
dep: Analyzing "github.com/sectioneight/dot-import-example/.dot"...
Cached github.com/sectioneight/dot-import-example
dep: Solving...
Root project is "scratch"
1 transitively valid internal packages
2 external packages imported from 1 projects
(0) ✓ select (root)
(1) ? attempt github.com/sectioneight/dot-import-example with 2 pkgs; at least 1 versions to try
(1) try github.com/sectioneight/dot-import-example@master
(2) ✗ github.com/sectioneight/dot-import-example at master has problem subpkg(s):
(2) github.com/sectioneight/dot-import-example/.dot is missing; required by (root).
(1) try github.com/sectioneight/dot-import-example@master
(2) ✗ github.com/sectioneight/dot-import-example at master has problem subpkg(s):
(2) github.com/sectioneight/dot-import-example/.dot is missing; required by (root).
(1) ← no more versions of github.com/sectioneight/dot-import-example to try; begin backtrack
✗ solving failed
Solver wall times by segment:
b-list-pkgs: 175.781449ms
select-root: 98.854µs
satisfy: 80.963µs
new-atom: 64.6µs
b-list-versions: 11.02µs
b-source-exists: 3.862µs
other: 3.327µs
TOTAL: 176.044075ms
No versions of github.com/sectioneight/dot-import-example met constraints:
master: Could not introduce github.com/sectioneight/dot-import-example@master, as its subpackage github.com/sectioneight/dot-import-example/.dot is missing. (Package is required by (root).)
master: Could not introduce github.com/sectioneight/dot-import-example@master, as its subpackage github.com/sectioneight/dot-import-example/.dot is missing. (Package is required by (root).)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment