Refactor out protocol and luhn (protocol dependency) packages

This commit is contained in:
Jakob Borg
2015-01-13 13:22:56 +01:00
parent 48382c4b59
commit eef1aebe8c
65 changed files with 841 additions and 70 deletions

View File

@@ -28,8 +28,8 @@ import (
"strconv"
"github.com/calmh/logger"
"github.com/syncthing/protocol"
"github.com/syncthing/syncthing/internal/osutil"
"github.com/syncthing/syncthing/internal/protocol"
"golang.org/x/crypto/bcrypt"
)

View File

@@ -21,7 +21,7 @@ import (
"reflect"
"testing"
"github.com/syncthing/syncthing/internal/protocol"
"github.com/syncthing/protocol"
)
var device1, device2, device3, device4 protocol.DeviceID

View File

@@ -21,9 +21,9 @@ import (
"path/filepath"
"sync"
"github.com/syncthing/protocol"
"github.com/syncthing/syncthing/internal/events"
"github.com/syncthing/syncthing/internal/osutil"
"github.com/syncthing/syncthing/internal/protocol"
)
// An interface to handle configuration changes, and a wrapper type á la