Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ascandella/d8204487f39cd0a786a82c1b9c6c04e9 to your computer and use it in GitHub Desktop.
Save ascandella/d8204487f39cd0a786a82c1b9c6c04e9 to your computer and use it in GitHub Desktop.
underscores are ok
scratch - master! ❯ cat main.go
package main
import (
"fmt"
"github.com/sectioneight/dot-import-example/_underscore"
)
func main() {
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/_underscore", analyzing...
dep: Analyzing transitive imports...
dep: Analyzing "github.com/sectioneight/dot-import-example/_underscore"...
Cached github.com/sectioneight/dot-import-example
dep: Solving...
Root project is "scratch"
1 transitively valid internal packages
1 external packages imported from 1 projects
(0) ✓ select (root)
(1) ? attempt github.com/sectioneight/dot-import-example with 1 pkgs; at least 1 versions to try
(1) try github.com/sectioneight/dot-import-example@master
(1) ✓ select github.com/sectioneight/dot-import-example@master w/1 pkgs
✓ found solution with 1 packages from 1 projects
Solver wall times by segment:
b-list-pkgs: 218.129973ms
b-gmal: 142.319708ms
select-root: 81.411µs
new-atom: 50.34µs
select-atom: 40.363µs
satisfy: 23.092µs
other: 10.348µs
b-source-exists: 5.134µs
TOTAL: 360.660369ms
dep: Writing manifest and lock files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment