-
Notifications
You must be signed in to change notification settings - Fork 24
Refactor reachmaps #148
Changes from all commits
5fcd04e
e4bcce7
96ce383
7b81a45
13e24e8
547776f
418617b
5ede5b3
e2d896a
fa3f0fa
53d6949
467e8cf
82c3fcb
ddc8467
65fd43a
5c020d4
fc2fbba
4728f02
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package cycle | ||
|
||
import ( | ||
"cycle/one" | ||
"github.com/sdboyer/gps" | ||
) | ||
|
||
var ( | ||
A = gps.Solve | ||
B = one.A | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package one | ||
|
||
import ( | ||
"cycle/two" | ||
"github.com/sdboyer/gps" | ||
) | ||
|
||
var ( | ||
A = gps.Solve | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. exported var A should have comment or be unexported |
||
B = two.A | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package two | ||
|
||
import ( | ||
"cycle" | ||
"github.com/sdboyer/gps" | ||
) | ||
|
||
var ( | ||
A = gps.Solve | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. exported var A should have comment or be unexported |
||
B = cycle.A | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package main | ||
|
||
import ( | ||
"github.com/example/varied/namemismatch" | ||
"github.com/example/varied/otherpath" | ||
"github.com/example/varied/simple" | ||
) | ||
|
||
var ( | ||
_ = simple.S | ||
_ = nm.V | ||
_ = otherpath.O | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package m1p | ||
|
||
import ( | ||
"sort" | ||
|
||
"github.com/sdboyer/gps" | ||
) | ||
|
||
var ( | ||
M = sort.Strings | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. exported var M should have comment or be unexported |
||
_ = gps.Solve | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package m1p | ||
|
||
import ( | ||
"os" | ||
"sort" | ||
) | ||
|
||
var ( | ||
_ = sort.Strings | ||
_ = os.PathSeparator | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package main | ||
|
||
import ( | ||
"net/http" | ||
) | ||
|
||
var ( | ||
_ = http.Client | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package nm | ||
|
||
import ( | ||
"os" | ||
|
||
"github.com/Masterminds/semver" | ||
) | ||
|
||
var ( | ||
V = os.FileInfo | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. exported var V should have comment or be unexported |
||
_ = semver.Constraint | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package otherpath | ||
|
||
import "github.com/example/varied/m1p" | ||
|
||
var O = m1p.M |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package another | ||
|
||
import "hash" | ||
|
||
var ( | ||
H = hash.Hash | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. exported var H should have comment or be unexported |
||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package another | ||
|
||
import "encoding/binary" | ||
|
||
var ( | ||
_ = binary.PutVarint | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package another | ||
|
||
import "github.com/example/varied/m1p" | ||
|
||
var _ = m1p.M |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package simple | ||
|
||
import "github.com/example/varied/simple/another" | ||
|
||
var ( | ||
_ = another.H | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package simple | ||
|
||
import ( | ||
"go/parser" | ||
|
||
"github.com/sdboyer/gps" | ||
) | ||
|
||
var ( | ||
_ = parser.ParseFile | ||
S = gps.Prepare | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. exported var S should have comment or be unexported |
||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package relimport | ||
|
||
import ( | ||
"sort" | ||
) | ||
|
||
var ( | ||
A = sort.Strings | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. exported var A should have comment or be unexported |
||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package dot | ||
|
||
import ( | ||
"." | ||
"sort" | ||
) | ||
|
||
var ( | ||
A = sort.Strings | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. exported var A should have comment or be unexported |
||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package dotdot | ||
|
||
import ( | ||
relimport ".." | ||
) | ||
|
||
var ( | ||
A = relimport.A | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. exported var A should have comment or be unexported |
||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package dotslash | ||
|
||
import ( | ||
"../github.com/sdboyer/gps" | ||
) | ||
|
||
var ( | ||
A = gps.Solver | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. exported var A should have comment or be unexported |
||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package dotslash | ||
|
||
import ( | ||
"./simple" | ||
) | ||
|
||
var ( | ||
A = simple.A | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. exported var A should have comment or be unexported |
||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported var A should have comment or be unexported