Skip to content

Commit

Permalink
refactor(llrp): llrp is now an exported package
Browse files Browse the repository at this point in the history
Allows the llrp package to be accessible for others to import.

Closes: #291
Signed-off-by: Diogo Correia <dv_correia@hotmail.com>
  • Loading branch information
Diogo Correia authored and dvcorreia committed May 23, 2024
1 parent cc4603a commit 14e8eb7
Show file tree
Hide file tree
Showing 58 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmd/llrp/llrp.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"syscall"
"time"

"github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp"
"github.com/edgexfoundry/device-rfid-llrp-go/pkg/llrp"
)

var rfidAddr, roSpecPath, accessSpecPath, confPath, customPath string
Expand Down
2 changes: 1 addition & 1 deletion internal/driver/device.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"github.com/edgexfoundry/go-mod-core-contracts/v3/common"
contract "github.com/edgexfoundry/go-mod-core-contracts/v3/models"

"github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp"
"github.com/edgexfoundry/device-rfid-llrp-go/internal/retry"
"github.com/edgexfoundry/device-rfid-llrp-go/pkg/llrp"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/driver/discover.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"sync"
"time"

"github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp"
"github.com/edgexfoundry/device-rfid-llrp-go/pkg/llrp"
dsModels "github.com/edgexfoundry/device-sdk-go/v3/pkg/models"
contract "github.com/edgexfoundry/go-mod-core-contracts/v3/models"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/driver/discover_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"testing"
"time"

"github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp"
"github.com/edgexfoundry/device-rfid-llrp-go/pkg/llrp"
"github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks"
"github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger"
"github.com/edgexfoundry/go-mod-core-contracts/v3/models"
Expand Down
2 changes: 1 addition & 1 deletion internal/driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/edgexfoundry/go-mod-core-contracts/v3/common"
contract "github.com/edgexfoundry/go-mod-core-contracts/v3/models"

"github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp"
"github.com/edgexfoundry/device-rfid-llrp-go/pkg/llrp"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion internal/driver/driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"testing"
"time"

"github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp"
"github.com/edgexfoundry/device-rfid-llrp-go/pkg/llrp"
dsModels "github.com/edgexfoundry/device-sdk-go/v3/pkg/models"
"github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger"
"github.com/edgexfoundry/go-mod-core-contracts/v3/common"
Expand Down
2 changes: 1 addition & 1 deletion internal/driver/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
package driver

import (
"github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp"
"github.com/edgexfoundry/device-rfid-llrp-go/pkg/llrp"
"github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger"
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 14e8eb7

Please sign in to comment.