diff --git a/client.go b/client.go index fdf07ff1..8d59eb66 100644 --- a/client.go +++ b/client.go @@ -14,8 +14,8 @@ import ( "runtime/debug" - "github.com/mdempsky/gocode/gbimporter" - "github.com/mdempsky/gocode/suggest" + "github.com/mdempsky/gocode/internal/gbimporter" + "github.com/mdempsky/gocode/internal/suggest" ) func doClient() { diff --git a/gbimporter/context.go b/internal/gbimporter/context.go similarity index 100% rename from gbimporter/context.go rename to internal/gbimporter/context.go diff --git a/gbimporter/gbimporter.go b/internal/gbimporter/gbimporter.go similarity index 100% rename from gbimporter/gbimporter.go rename to internal/gbimporter/gbimporter.go diff --git a/gbimporter/samepath_unix.go b/internal/gbimporter/samepath_unix.go similarity index 100% rename from gbimporter/samepath_unix.go rename to internal/gbimporter/samepath_unix.go diff --git a/gbimporter/samepath_windows.go b/internal/gbimporter/samepath_windows.go similarity index 100% rename from gbimporter/samepath_windows.go rename to internal/gbimporter/samepath_windows.go diff --git a/lookdot/lookdot.go b/internal/lookdot/lookdot.go similarity index 100% rename from lookdot/lookdot.go rename to internal/lookdot/lookdot.go diff --git a/lookdot/lookdot_test.go b/internal/lookdot/lookdot_test.go similarity index 97% rename from lookdot/lookdot_test.go rename to internal/lookdot/lookdot_test.go index 652d5ae4..35401d2e 100644 --- a/lookdot/lookdot_test.go +++ b/internal/lookdot/lookdot_test.go @@ -10,7 +10,7 @@ import ( "sort" "testing" - "github.com/mdempsky/gocode/lookdot" + "github.com/mdempsky/gocode/internal/lookdot" ) const src = ` diff --git a/suggest/candidate.go b/internal/suggest/candidate.go similarity index 100% rename from suggest/candidate.go rename to internal/suggest/candidate.go diff --git a/suggest/cursorcontext.go b/internal/suggest/cursorcontext.go similarity index 100% rename from suggest/cursorcontext.go rename to internal/suggest/cursorcontext.go diff --git a/suggest/formatters.go b/internal/suggest/formatters.go similarity index 100% rename from suggest/formatters.go rename to internal/suggest/formatters.go diff --git a/suggest/formatters_test.go b/internal/suggest/formatters_test.go similarity index 99% rename from suggest/formatters_test.go rename to internal/suggest/formatters_test.go index 74884992..49b04a2d 100644 --- a/suggest/formatters_test.go +++ b/internal/suggest/formatters_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/mdempsky/gocode/suggest" + "github.com/mdempsky/gocode/internal/suggest" ) func TestFormatters(t *testing.T) { diff --git a/suggest/suggest.go b/internal/suggest/suggest.go similarity index 99% rename from suggest/suggest.go rename to internal/suggest/suggest.go index d87467d5..e9c02208 100644 --- a/suggest/suggest.go +++ b/internal/suggest/suggest.go @@ -11,7 +11,7 @@ import ( "path/filepath" "strings" - "github.com/mdempsky/gocode/lookdot" + "github.com/mdempsky/gocode/internal/lookdot" ) type Config struct { diff --git a/suggest/suggest_test.go b/internal/suggest/suggest_test.go similarity index 97% rename from suggest/suggest_test.go rename to internal/suggest/suggest_test.go index 6049c48d..cfcbbe9c 100644 --- a/suggest/suggest_test.go +++ b/internal/suggest/suggest_test.go @@ -10,7 +10,7 @@ import ( "strings" "testing" - "github.com/mdempsky/gocode/suggest" + "github.com/mdempsky/gocode/internal/suggest" ) func TestRegress(t *testing.T) { diff --git a/suggest/testdata/test.0001/out.expected b/internal/suggest/testdata/test.0001/out.expected similarity index 100% rename from suggest/testdata/test.0001/out.expected rename to internal/suggest/testdata/test.0001/out.expected diff --git a/suggest/testdata/test.0001/test.go.in b/internal/suggest/testdata/test.0001/test.go.in similarity index 100% rename from suggest/testdata/test.0001/test.go.in rename to internal/suggest/testdata/test.0001/test.go.in diff --git a/suggest/testdata/test.0002/out.expected b/internal/suggest/testdata/test.0002/out.expected similarity index 100% rename from suggest/testdata/test.0002/out.expected rename to internal/suggest/testdata/test.0002/out.expected diff --git a/suggest/testdata/test.0002/test.go.in b/internal/suggest/testdata/test.0002/test.go.in similarity index 100% rename from suggest/testdata/test.0002/test.go.in rename to internal/suggest/testdata/test.0002/test.go.in diff --git a/suggest/testdata/test.0003/out.expected b/internal/suggest/testdata/test.0003/out.expected similarity index 100% rename from suggest/testdata/test.0003/out.expected rename to internal/suggest/testdata/test.0003/out.expected diff --git a/suggest/testdata/test.0003/test.go.in b/internal/suggest/testdata/test.0003/test.go.in similarity index 100% rename from suggest/testdata/test.0003/test.go.in rename to internal/suggest/testdata/test.0003/test.go.in diff --git a/suggest/testdata/test.0004/out.expected b/internal/suggest/testdata/test.0004/out.expected similarity index 100% rename from suggest/testdata/test.0004/out.expected rename to internal/suggest/testdata/test.0004/out.expected diff --git a/suggest/testdata/test.0004/test.go.in b/internal/suggest/testdata/test.0004/test.go.in similarity index 100% rename from suggest/testdata/test.0004/test.go.in rename to internal/suggest/testdata/test.0004/test.go.in diff --git a/suggest/testdata/test.0005/b.go b/internal/suggest/testdata/test.0005/b.go similarity index 100% rename from suggest/testdata/test.0005/b.go rename to internal/suggest/testdata/test.0005/b.go diff --git a/suggest/testdata/test.0005/out.expected b/internal/suggest/testdata/test.0005/out.expected similarity index 100% rename from suggest/testdata/test.0005/out.expected rename to internal/suggest/testdata/test.0005/out.expected diff --git a/suggest/testdata/test.0005/test.go.in b/internal/suggest/testdata/test.0005/test.go.in similarity index 100% rename from suggest/testdata/test.0005/test.go.in rename to internal/suggest/testdata/test.0005/test.go.in diff --git a/suggest/testdata/test.0006/b.go b/internal/suggest/testdata/test.0006/b.go similarity index 100% rename from suggest/testdata/test.0006/b.go rename to internal/suggest/testdata/test.0006/b.go diff --git a/suggest/testdata/test.0006/out.expected b/internal/suggest/testdata/test.0006/out.expected similarity index 100% rename from suggest/testdata/test.0006/out.expected rename to internal/suggest/testdata/test.0006/out.expected diff --git a/suggest/testdata/test.0006/test.go.in b/internal/suggest/testdata/test.0006/test.go.in similarity index 100% rename from suggest/testdata/test.0006/test.go.in rename to internal/suggest/testdata/test.0006/test.go.in diff --git a/suggest/testdata/test.0007/out.expected b/internal/suggest/testdata/test.0007/out.expected similarity index 100% rename from suggest/testdata/test.0007/out.expected rename to internal/suggest/testdata/test.0007/out.expected diff --git a/suggest/testdata/test.0007/test.go.in b/internal/suggest/testdata/test.0007/test.go.in similarity index 100% rename from suggest/testdata/test.0007/test.go.in rename to internal/suggest/testdata/test.0007/test.go.in diff --git a/suggest/testdata/test.0008/out.expected b/internal/suggest/testdata/test.0008/out.expected similarity index 100% rename from suggest/testdata/test.0008/out.expected rename to internal/suggest/testdata/test.0008/out.expected diff --git a/suggest/testdata/test.0008/test.go.in b/internal/suggest/testdata/test.0008/test.go.in similarity index 100% rename from suggest/testdata/test.0008/test.go.in rename to internal/suggest/testdata/test.0008/test.go.in diff --git a/suggest/testdata/test.0009/out.expected b/internal/suggest/testdata/test.0009/out.expected similarity index 100% rename from suggest/testdata/test.0009/out.expected rename to internal/suggest/testdata/test.0009/out.expected diff --git a/suggest/testdata/test.0009/test.go.in b/internal/suggest/testdata/test.0009/test.go.in similarity index 100% rename from suggest/testdata/test.0009/test.go.in rename to internal/suggest/testdata/test.0009/test.go.in diff --git a/suggest/testdata/test.0010/out.expected b/internal/suggest/testdata/test.0010/out.expected similarity index 100% rename from suggest/testdata/test.0010/out.expected rename to internal/suggest/testdata/test.0010/out.expected diff --git a/suggest/testdata/test.0010/test.go.in b/internal/suggest/testdata/test.0010/test.go.in similarity index 100% rename from suggest/testdata/test.0010/test.go.in rename to internal/suggest/testdata/test.0010/test.go.in diff --git a/suggest/testdata/test.0011/out.expected b/internal/suggest/testdata/test.0011/out.expected similarity index 100% rename from suggest/testdata/test.0011/out.expected rename to internal/suggest/testdata/test.0011/out.expected diff --git a/suggest/testdata/test.0011/test.go.in b/internal/suggest/testdata/test.0011/test.go.in similarity index 100% rename from suggest/testdata/test.0011/test.go.in rename to internal/suggest/testdata/test.0011/test.go.in diff --git a/suggest/testdata/test.0012/out.expected b/internal/suggest/testdata/test.0012/out.expected similarity index 100% rename from suggest/testdata/test.0012/out.expected rename to internal/suggest/testdata/test.0012/out.expected diff --git a/suggest/testdata/test.0012/test.go.in b/internal/suggest/testdata/test.0012/test.go.in similarity index 100% rename from suggest/testdata/test.0012/test.go.in rename to internal/suggest/testdata/test.0012/test.go.in diff --git a/suggest/testdata/test.0013/out.expected b/internal/suggest/testdata/test.0013/out.expected similarity index 100% rename from suggest/testdata/test.0013/out.expected rename to internal/suggest/testdata/test.0013/out.expected diff --git a/suggest/testdata/test.0013/test.go.in b/internal/suggest/testdata/test.0013/test.go.in similarity index 100% rename from suggest/testdata/test.0013/test.go.in rename to internal/suggest/testdata/test.0013/test.go.in diff --git a/suggest/testdata/test.0014/out.expected b/internal/suggest/testdata/test.0014/out.expected similarity index 100% rename from suggest/testdata/test.0014/out.expected rename to internal/suggest/testdata/test.0014/out.expected diff --git a/suggest/testdata/test.0014/test.go.in b/internal/suggest/testdata/test.0014/test.go.in similarity index 100% rename from suggest/testdata/test.0014/test.go.in rename to internal/suggest/testdata/test.0014/test.go.in diff --git a/suggest/testdata/test.0015/out.expected b/internal/suggest/testdata/test.0015/out.expected similarity index 100% rename from suggest/testdata/test.0015/out.expected rename to internal/suggest/testdata/test.0015/out.expected diff --git a/suggest/testdata/test.0015/test.go.in b/internal/suggest/testdata/test.0015/test.go.in similarity index 100% rename from suggest/testdata/test.0015/test.go.in rename to internal/suggest/testdata/test.0015/test.go.in diff --git a/suggest/testdata/test.0016/out.expected b/internal/suggest/testdata/test.0016/out.expected similarity index 100% rename from suggest/testdata/test.0016/out.expected rename to internal/suggest/testdata/test.0016/out.expected diff --git a/suggest/testdata/test.0016/test.go.in b/internal/suggest/testdata/test.0016/test.go.in similarity index 100% rename from suggest/testdata/test.0016/test.go.in rename to internal/suggest/testdata/test.0016/test.go.in diff --git a/suggest/testdata/test.0017/out.expected b/internal/suggest/testdata/test.0017/out.expected similarity index 100% rename from suggest/testdata/test.0017/out.expected rename to internal/suggest/testdata/test.0017/out.expected diff --git a/suggest/testdata/test.0017/test.go.in b/internal/suggest/testdata/test.0017/test.go.in similarity index 100% rename from suggest/testdata/test.0017/test.go.in rename to internal/suggest/testdata/test.0017/test.go.in diff --git a/suggest/testdata/test.0018/out.expected b/internal/suggest/testdata/test.0018/out.expected similarity index 100% rename from suggest/testdata/test.0018/out.expected rename to internal/suggest/testdata/test.0018/out.expected diff --git a/suggest/testdata/test.0018/test.go.in b/internal/suggest/testdata/test.0018/test.go.in similarity index 100% rename from suggest/testdata/test.0018/test.go.in rename to internal/suggest/testdata/test.0018/test.go.in diff --git a/suggest/testdata/test.0019/out.expected b/internal/suggest/testdata/test.0019/out.expected similarity index 100% rename from suggest/testdata/test.0019/out.expected rename to internal/suggest/testdata/test.0019/out.expected diff --git a/suggest/testdata/test.0019/test.go.in b/internal/suggest/testdata/test.0019/test.go.in similarity index 100% rename from suggest/testdata/test.0019/test.go.in rename to internal/suggest/testdata/test.0019/test.go.in diff --git a/suggest/testdata/test.0020/out.expected b/internal/suggest/testdata/test.0020/out.expected similarity index 100% rename from suggest/testdata/test.0020/out.expected rename to internal/suggest/testdata/test.0020/out.expected diff --git a/suggest/testdata/test.0020/test.go.in b/internal/suggest/testdata/test.0020/test.go.in similarity index 100% rename from suggest/testdata/test.0020/test.go.in rename to internal/suggest/testdata/test.0020/test.go.in diff --git a/suggest/testdata/test.0021/out.expected b/internal/suggest/testdata/test.0021/out.expected similarity index 100% rename from suggest/testdata/test.0021/out.expected rename to internal/suggest/testdata/test.0021/out.expected diff --git a/suggest/testdata/test.0021/test.go.in b/internal/suggest/testdata/test.0021/test.go.in similarity index 100% rename from suggest/testdata/test.0021/test.go.in rename to internal/suggest/testdata/test.0021/test.go.in diff --git a/suggest/testdata/test.0022/out.expected b/internal/suggest/testdata/test.0022/out.expected similarity index 100% rename from suggest/testdata/test.0022/out.expected rename to internal/suggest/testdata/test.0022/out.expected diff --git a/suggest/testdata/test.0022/test.go.in b/internal/suggest/testdata/test.0022/test.go.in similarity index 100% rename from suggest/testdata/test.0022/test.go.in rename to internal/suggest/testdata/test.0022/test.go.in diff --git a/suggest/testdata/test.0023/out.expected b/internal/suggest/testdata/test.0023/out.expected similarity index 100% rename from suggest/testdata/test.0023/out.expected rename to internal/suggest/testdata/test.0023/out.expected diff --git a/suggest/testdata/test.0023/test.go.in b/internal/suggest/testdata/test.0023/test.go.in similarity index 100% rename from suggest/testdata/test.0023/test.go.in rename to internal/suggest/testdata/test.0023/test.go.in diff --git a/suggest/testdata/test.0024/out.expected b/internal/suggest/testdata/test.0024/out.expected similarity index 100% rename from suggest/testdata/test.0024/out.expected rename to internal/suggest/testdata/test.0024/out.expected diff --git a/suggest/testdata/test.0024/test.go.in b/internal/suggest/testdata/test.0024/test.go.in similarity index 100% rename from suggest/testdata/test.0024/test.go.in rename to internal/suggest/testdata/test.0024/test.go.in diff --git a/suggest/testdata/test.0025/out.expected b/internal/suggest/testdata/test.0025/out.expected similarity index 100% rename from suggest/testdata/test.0025/out.expected rename to internal/suggest/testdata/test.0025/out.expected diff --git a/suggest/testdata/test.0025/test.go.in b/internal/suggest/testdata/test.0025/test.go.in similarity index 100% rename from suggest/testdata/test.0025/test.go.in rename to internal/suggest/testdata/test.0025/test.go.in diff --git a/suggest/testdata/test.0026/out.expected b/internal/suggest/testdata/test.0026/out.expected similarity index 100% rename from suggest/testdata/test.0026/out.expected rename to internal/suggest/testdata/test.0026/out.expected diff --git a/suggest/testdata/test.0026/test.go.in b/internal/suggest/testdata/test.0026/test.go.in similarity index 100% rename from suggest/testdata/test.0026/test.go.in rename to internal/suggest/testdata/test.0026/test.go.in diff --git a/suggest/testdata/test.0027/out.expected b/internal/suggest/testdata/test.0027/out.expected similarity index 100% rename from suggest/testdata/test.0027/out.expected rename to internal/suggest/testdata/test.0027/out.expected diff --git a/suggest/testdata/test.0027/test.go.in b/internal/suggest/testdata/test.0027/test.go.in similarity index 100% rename from suggest/testdata/test.0027/test.go.in rename to internal/suggest/testdata/test.0027/test.go.in diff --git a/suggest/testdata/test.0028/out.expected b/internal/suggest/testdata/test.0028/out.expected similarity index 100% rename from suggest/testdata/test.0028/out.expected rename to internal/suggest/testdata/test.0028/out.expected diff --git a/suggest/testdata/test.0028/test.go.in b/internal/suggest/testdata/test.0028/test.go.in similarity index 100% rename from suggest/testdata/test.0028/test.go.in rename to internal/suggest/testdata/test.0028/test.go.in diff --git a/suggest/testdata/test.0029/out.expected b/internal/suggest/testdata/test.0029/out.expected similarity index 100% rename from suggest/testdata/test.0029/out.expected rename to internal/suggest/testdata/test.0029/out.expected diff --git a/suggest/testdata/test.0029/test.go.in b/internal/suggest/testdata/test.0029/test.go.in similarity index 100% rename from suggest/testdata/test.0029/test.go.in rename to internal/suggest/testdata/test.0029/test.go.in diff --git a/suggest/testdata/test.0030/out.expected b/internal/suggest/testdata/test.0030/out.expected similarity index 100% rename from suggest/testdata/test.0030/out.expected rename to internal/suggest/testdata/test.0030/out.expected diff --git a/suggest/testdata/test.0030/test.go.in b/internal/suggest/testdata/test.0030/test.go.in similarity index 100% rename from suggest/testdata/test.0030/test.go.in rename to internal/suggest/testdata/test.0030/test.go.in diff --git a/suggest/testdata/test.0031/out.expected b/internal/suggest/testdata/test.0031/out.expected similarity index 100% rename from suggest/testdata/test.0031/out.expected rename to internal/suggest/testdata/test.0031/out.expected diff --git a/suggest/testdata/test.0031/test.go.in b/internal/suggest/testdata/test.0031/test.go.in similarity index 100% rename from suggest/testdata/test.0031/test.go.in rename to internal/suggest/testdata/test.0031/test.go.in diff --git a/suggest/testdata/test.0032/out.expected b/internal/suggest/testdata/test.0032/out.expected similarity index 100% rename from suggest/testdata/test.0032/out.expected rename to internal/suggest/testdata/test.0032/out.expected diff --git a/suggest/testdata/test.0032/test.go.in b/internal/suggest/testdata/test.0032/test.go.in similarity index 100% rename from suggest/testdata/test.0032/test.go.in rename to internal/suggest/testdata/test.0032/test.go.in diff --git a/suggest/testdata/test.0033/out.expected b/internal/suggest/testdata/test.0033/out.expected similarity index 100% rename from suggest/testdata/test.0033/out.expected rename to internal/suggest/testdata/test.0033/out.expected diff --git a/suggest/testdata/test.0033/test.go.in b/internal/suggest/testdata/test.0033/test.go.in similarity index 100% rename from suggest/testdata/test.0033/test.go.in rename to internal/suggest/testdata/test.0033/test.go.in diff --git a/suggest/testdata/test.0034/out.expected b/internal/suggest/testdata/test.0034/out.expected similarity index 100% rename from suggest/testdata/test.0034/out.expected rename to internal/suggest/testdata/test.0034/out.expected diff --git a/suggest/testdata/test.0034/test.go.in b/internal/suggest/testdata/test.0034/test.go.in similarity index 100% rename from suggest/testdata/test.0034/test.go.in rename to internal/suggest/testdata/test.0034/test.go.in diff --git a/suggest/testdata/test.0035/out.expected b/internal/suggest/testdata/test.0035/out.expected similarity index 100% rename from suggest/testdata/test.0035/out.expected rename to internal/suggest/testdata/test.0035/out.expected diff --git a/suggest/testdata/test.0035/test.go.in b/internal/suggest/testdata/test.0035/test.go.in similarity index 100% rename from suggest/testdata/test.0035/test.go.in rename to internal/suggest/testdata/test.0035/test.go.in diff --git a/suggest/testdata/test.0036/out.expected b/internal/suggest/testdata/test.0036/out.expected similarity index 100% rename from suggest/testdata/test.0036/out.expected rename to internal/suggest/testdata/test.0036/out.expected diff --git a/suggest/testdata/test.0036/test.go.in b/internal/suggest/testdata/test.0036/test.go.in similarity index 100% rename from suggest/testdata/test.0036/test.go.in rename to internal/suggest/testdata/test.0036/test.go.in diff --git a/suggest/testdata/test.0037/out.expected b/internal/suggest/testdata/test.0037/out.expected similarity index 100% rename from suggest/testdata/test.0037/out.expected rename to internal/suggest/testdata/test.0037/out.expected diff --git a/suggest/testdata/test.0037/test.go.in b/internal/suggest/testdata/test.0037/test.go.in similarity index 100% rename from suggest/testdata/test.0037/test.go.in rename to internal/suggest/testdata/test.0037/test.go.in diff --git a/suggest/testdata/test.0038/out.expected b/internal/suggest/testdata/test.0038/out.expected similarity index 100% rename from suggest/testdata/test.0038/out.expected rename to internal/suggest/testdata/test.0038/out.expected diff --git a/suggest/testdata/test.0038/test.go.in b/internal/suggest/testdata/test.0038/test.go.in similarity index 100% rename from suggest/testdata/test.0038/test.go.in rename to internal/suggest/testdata/test.0038/test.go.in diff --git a/suggest/testdata/test.0039/out.expected b/internal/suggest/testdata/test.0039/out.expected similarity index 100% rename from suggest/testdata/test.0039/out.expected rename to internal/suggest/testdata/test.0039/out.expected diff --git a/suggest/testdata/test.0039/test.go.in b/internal/suggest/testdata/test.0039/test.go.in similarity index 100% rename from suggest/testdata/test.0039/test.go.in rename to internal/suggest/testdata/test.0039/test.go.in diff --git a/suggest/testdata/test.0040/out.expected b/internal/suggest/testdata/test.0040/out.expected similarity index 100% rename from suggest/testdata/test.0040/out.expected rename to internal/suggest/testdata/test.0040/out.expected diff --git a/suggest/testdata/test.0040/test.go.in b/internal/suggest/testdata/test.0040/test.go.in similarity index 100% rename from suggest/testdata/test.0040/test.go.in rename to internal/suggest/testdata/test.0040/test.go.in diff --git a/suggest/testdata/test.0041/out.expected b/internal/suggest/testdata/test.0041/out.expected similarity index 100% rename from suggest/testdata/test.0041/out.expected rename to internal/suggest/testdata/test.0041/out.expected diff --git a/suggest/testdata/test.0041/test.go.in b/internal/suggest/testdata/test.0041/test.go.in similarity index 100% rename from suggest/testdata/test.0041/test.go.in rename to internal/suggest/testdata/test.0041/test.go.in diff --git a/suggest/testdata/test.0042/out.expected b/internal/suggest/testdata/test.0042/out.expected similarity index 100% rename from suggest/testdata/test.0042/out.expected rename to internal/suggest/testdata/test.0042/out.expected diff --git a/suggest/testdata/test.0042/test.go.in b/internal/suggest/testdata/test.0042/test.go.in similarity index 100% rename from suggest/testdata/test.0042/test.go.in rename to internal/suggest/testdata/test.0042/test.go.in diff --git a/suggest/testdata/test.0043/out.expected b/internal/suggest/testdata/test.0043/out.expected similarity index 100% rename from suggest/testdata/test.0043/out.expected rename to internal/suggest/testdata/test.0043/out.expected diff --git a/suggest/testdata/test.0043/test.go.in b/internal/suggest/testdata/test.0043/test.go.in similarity index 100% rename from suggest/testdata/test.0043/test.go.in rename to internal/suggest/testdata/test.0043/test.go.in diff --git a/suggest/testdata/test.0044/out.expected b/internal/suggest/testdata/test.0044/out.expected similarity index 100% rename from suggest/testdata/test.0044/out.expected rename to internal/suggest/testdata/test.0044/out.expected diff --git a/suggest/testdata/test.0044/test.go.in b/internal/suggest/testdata/test.0044/test.go.in similarity index 100% rename from suggest/testdata/test.0044/test.go.in rename to internal/suggest/testdata/test.0044/test.go.in diff --git a/suggest/testdata/test.0045/out.expected b/internal/suggest/testdata/test.0045/out.expected similarity index 100% rename from suggest/testdata/test.0045/out.expected rename to internal/suggest/testdata/test.0045/out.expected diff --git a/suggest/testdata/test.0045/test.go.in b/internal/suggest/testdata/test.0045/test.go.in similarity index 100% rename from suggest/testdata/test.0045/test.go.in rename to internal/suggest/testdata/test.0045/test.go.in diff --git a/suggest/testdata/test.0046/out.expected b/internal/suggest/testdata/test.0046/out.expected similarity index 100% rename from suggest/testdata/test.0046/out.expected rename to internal/suggest/testdata/test.0046/out.expected diff --git a/suggest/testdata/test.0046/test.go.in b/internal/suggest/testdata/test.0046/test.go.in similarity index 100% rename from suggest/testdata/test.0046/test.go.in rename to internal/suggest/testdata/test.0046/test.go.in diff --git a/suggest/testdata/test.0047/out.expected b/internal/suggest/testdata/test.0047/out.expected similarity index 100% rename from suggest/testdata/test.0047/out.expected rename to internal/suggest/testdata/test.0047/out.expected diff --git a/suggest/testdata/test.0047/test.go.in b/internal/suggest/testdata/test.0047/test.go.in similarity index 100% rename from suggest/testdata/test.0047/test.go.in rename to internal/suggest/testdata/test.0047/test.go.in diff --git a/suggest/testdata/test.0048/out.expected b/internal/suggest/testdata/test.0048/out.expected similarity index 100% rename from suggest/testdata/test.0048/out.expected rename to internal/suggest/testdata/test.0048/out.expected diff --git a/suggest/testdata/test.0048/test.go.in b/internal/suggest/testdata/test.0048/test.go.in similarity index 100% rename from suggest/testdata/test.0048/test.go.in rename to internal/suggest/testdata/test.0048/test.go.in diff --git a/suggest/testdata/test.0049/out.expected b/internal/suggest/testdata/test.0049/out.expected similarity index 100% rename from suggest/testdata/test.0049/out.expected rename to internal/suggest/testdata/test.0049/out.expected diff --git a/suggest/testdata/test.0049/test.go.in b/internal/suggest/testdata/test.0049/test.go.in similarity index 100% rename from suggest/testdata/test.0049/test.go.in rename to internal/suggest/testdata/test.0049/test.go.in diff --git a/suggest/testdata/test.0050/out.expected b/internal/suggest/testdata/test.0050/out.expected similarity index 100% rename from suggest/testdata/test.0050/out.expected rename to internal/suggest/testdata/test.0050/out.expected diff --git a/suggest/testdata/test.0050/test.go.in b/internal/suggest/testdata/test.0050/test.go.in similarity index 100% rename from suggest/testdata/test.0050/test.go.in rename to internal/suggest/testdata/test.0050/test.go.in diff --git a/suggest/testdata/test.0051/out.expected b/internal/suggest/testdata/test.0051/out.expected similarity index 100% rename from suggest/testdata/test.0051/out.expected rename to internal/suggest/testdata/test.0051/out.expected diff --git a/suggest/testdata/test.0051/test.go.in b/internal/suggest/testdata/test.0051/test.go.in similarity index 100% rename from suggest/testdata/test.0051/test.go.in rename to internal/suggest/testdata/test.0051/test.go.in diff --git a/suggest/testdata/test.0052/out.expected b/internal/suggest/testdata/test.0052/out.expected similarity index 100% rename from suggest/testdata/test.0052/out.expected rename to internal/suggest/testdata/test.0052/out.expected diff --git a/suggest/testdata/test.0052/test.go.in b/internal/suggest/testdata/test.0052/test.go.in similarity index 100% rename from suggest/testdata/test.0052/test.go.in rename to internal/suggest/testdata/test.0052/test.go.in diff --git a/suggest/testdata/test.0053/b.go b/internal/suggest/testdata/test.0053/b.go similarity index 100% rename from suggest/testdata/test.0053/b.go rename to internal/suggest/testdata/test.0053/b.go diff --git a/suggest/testdata/test.0053/out.expected b/internal/suggest/testdata/test.0053/out.expected similarity index 100% rename from suggest/testdata/test.0053/out.expected rename to internal/suggest/testdata/test.0053/out.expected diff --git a/suggest/testdata/test.0053/test.go.in b/internal/suggest/testdata/test.0053/test.go.in similarity index 100% rename from suggest/testdata/test.0053/test.go.in rename to internal/suggest/testdata/test.0053/test.go.in diff --git a/suggest/testdata/test.0054/b.go b/internal/suggest/testdata/test.0054/b.go similarity index 100% rename from suggest/testdata/test.0054/b.go rename to internal/suggest/testdata/test.0054/b.go diff --git a/suggest/testdata/test.0054/out.expected b/internal/suggest/testdata/test.0054/out.expected similarity index 100% rename from suggest/testdata/test.0054/out.expected rename to internal/suggest/testdata/test.0054/out.expected diff --git a/suggest/testdata/test.0054/test.go.in b/internal/suggest/testdata/test.0054/test.go.in similarity index 100% rename from suggest/testdata/test.0054/test.go.in rename to internal/suggest/testdata/test.0054/test.go.in diff --git a/suggest/testdata/test.0055/out.expected b/internal/suggest/testdata/test.0055/out.expected similarity index 100% rename from suggest/testdata/test.0055/out.expected rename to internal/suggest/testdata/test.0055/out.expected diff --git a/suggest/testdata/test.0055/test.go.in b/internal/suggest/testdata/test.0055/test.go.in similarity index 100% rename from suggest/testdata/test.0055/test.go.in rename to internal/suggest/testdata/test.0055/test.go.in diff --git a/suggest/testdata/test.0056/out.expected b/internal/suggest/testdata/test.0056/out.expected similarity index 100% rename from suggest/testdata/test.0056/out.expected rename to internal/suggest/testdata/test.0056/out.expected diff --git a/suggest/testdata/test.0056/test.go.in b/internal/suggest/testdata/test.0056/test.go.in similarity index 100% rename from suggest/testdata/test.0056/test.go.in rename to internal/suggest/testdata/test.0056/test.go.in diff --git a/suggest/testdata/test.0057/out.expected b/internal/suggest/testdata/test.0057/out.expected similarity index 100% rename from suggest/testdata/test.0057/out.expected rename to internal/suggest/testdata/test.0057/out.expected diff --git a/suggest/testdata/test.0057/test.go.in b/internal/suggest/testdata/test.0057/test.go.in similarity index 100% rename from suggest/testdata/test.0057/test.go.in rename to internal/suggest/testdata/test.0057/test.go.in diff --git a/suggest/testdata/test.0058/out.expected b/internal/suggest/testdata/test.0058/out.expected similarity index 100% rename from suggest/testdata/test.0058/out.expected rename to internal/suggest/testdata/test.0058/out.expected diff --git a/suggest/testdata/test.0058/test.go.in b/internal/suggest/testdata/test.0058/test.go.in similarity index 100% rename from suggest/testdata/test.0058/test.go.in rename to internal/suggest/testdata/test.0058/test.go.in diff --git a/suggest/testdata/test.0059/out.expected b/internal/suggest/testdata/test.0059/out.expected similarity index 100% rename from suggest/testdata/test.0059/out.expected rename to internal/suggest/testdata/test.0059/out.expected diff --git a/suggest/testdata/test.0059/test.go.in b/internal/suggest/testdata/test.0059/test.go.in similarity index 100% rename from suggest/testdata/test.0059/test.go.in rename to internal/suggest/testdata/test.0059/test.go.in diff --git a/suggest/testdata/test.0060/out.expected b/internal/suggest/testdata/test.0060/out.expected similarity index 100% rename from suggest/testdata/test.0060/out.expected rename to internal/suggest/testdata/test.0060/out.expected diff --git a/suggest/testdata/test.0060/test.go.in b/internal/suggest/testdata/test.0060/test.go.in similarity index 100% rename from suggest/testdata/test.0060/test.go.in rename to internal/suggest/testdata/test.0060/test.go.in diff --git a/suggest/testdata/test.0061/out.expected b/internal/suggest/testdata/test.0061/out.expected similarity index 100% rename from suggest/testdata/test.0061/out.expected rename to internal/suggest/testdata/test.0061/out.expected diff --git a/suggest/testdata/test.0061/test.go.in b/internal/suggest/testdata/test.0061/test.go.in similarity index 100% rename from suggest/testdata/test.0061/test.go.in rename to internal/suggest/testdata/test.0061/test.go.in diff --git a/suggest/testdata/test.0062/out.expected b/internal/suggest/testdata/test.0062/out.expected similarity index 100% rename from suggest/testdata/test.0062/out.expected rename to internal/suggest/testdata/test.0062/out.expected diff --git a/suggest/testdata/test.0062/test.go.in b/internal/suggest/testdata/test.0062/test.go.in similarity index 100% rename from suggest/testdata/test.0062/test.go.in rename to internal/suggest/testdata/test.0062/test.go.in diff --git a/suggest/testdata/test.0063/out.expected b/internal/suggest/testdata/test.0063/out.expected similarity index 100% rename from suggest/testdata/test.0063/out.expected rename to internal/suggest/testdata/test.0063/out.expected diff --git a/suggest/testdata/test.0063/test.go.in b/internal/suggest/testdata/test.0063/test.go.in similarity index 100% rename from suggest/testdata/test.0063/test.go.in rename to internal/suggest/testdata/test.0063/test.go.in diff --git a/suggest/testdata/test.0064/config.json b/internal/suggest/testdata/test.0064/config.json similarity index 100% rename from suggest/testdata/test.0064/config.json rename to internal/suggest/testdata/test.0064/config.json diff --git a/suggest/testdata/test.0064/out.expected b/internal/suggest/testdata/test.0064/out.expected similarity index 100% rename from suggest/testdata/test.0064/out.expected rename to internal/suggest/testdata/test.0064/out.expected diff --git a/suggest/testdata/test.0064/test.go.in b/internal/suggest/testdata/test.0064/test.go.in similarity index 100% rename from suggest/testdata/test.0064/test.go.in rename to internal/suggest/testdata/test.0064/test.go.in diff --git a/suggest/testdata/test.0065/config.json b/internal/suggest/testdata/test.0065/config.json similarity index 100% rename from suggest/testdata/test.0065/config.json rename to internal/suggest/testdata/test.0065/config.json diff --git a/suggest/testdata/test.0065/out.expected b/internal/suggest/testdata/test.0065/out.expected similarity index 100% rename from suggest/testdata/test.0065/out.expected rename to internal/suggest/testdata/test.0065/out.expected diff --git a/suggest/testdata/test.0065/test.go.in b/internal/suggest/testdata/test.0065/test.go.in similarity index 100% rename from suggest/testdata/test.0065/test.go.in rename to internal/suggest/testdata/test.0065/test.go.in diff --git a/server.go b/server.go index d2b22298..6b759593 100644 --- a/server.go +++ b/server.go @@ -13,8 +13,8 @@ import ( "runtime/debug" "time" - "github.com/mdempsky/gocode/gbimporter" - "github.com/mdempsky/gocode/suggest" + "github.com/mdempsky/gocode/internal/gbimporter" + "github.com/mdempsky/gocode/internal/suggest" ) func doServer() {