Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
islamaliev committed Jun 25, 2024
1 parent 2def0e9 commit b66171a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
3 changes: 2 additions & 1 deletion internal/encryption/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ package encryption
import (
"context"

"github.com/sourcenetwork/defradb/datastore"
"github.com/sourcenetwork/immutable"

"github.com/sourcenetwork/defradb/datastore"
)

// docEncContextKey is the key type for document encryption context values.
Expand Down
5 changes: 3 additions & 2 deletions internal/encryption/encryptor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ import (
"testing"

ds "github.com/ipfs/go-datastore"
"github.com/sourcenetwork/defradb/datastore/mocks"
"github.com/sourcenetwork/defradb/internal/core"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"

"github.com/sourcenetwork/defradb/datastore/mocks"
"github.com/sourcenetwork/defradb/internal/core"
)

var testErr = errors.New("test error")
Expand Down
2 changes: 1 addition & 1 deletion internal/merkle/crdt/errors.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Democratized Data Foundation
// Copyright 2024 Democratized Data Foundation
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
Expand Down
10 changes: 10 additions & 0 deletions internal/merkle/crdt/field.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
// Copyright 2024 Democratized Data Foundation
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.

package merklecrdt

import "github.com/sourcenetwork/defradb/client"
Expand Down

0 comments on commit b66171a

Please sign in to comment.