Skip to content

Commit 107e0d1

Browse files
committed
move go mod to top
clean not finish before change scimResource works for okta change variable name and add comment
1 parent 5583076 commit 107e0d1

File tree

20 files changed

+72
-212
lines changed

20 files changed

+72
-212
lines changed

attributes/go.mod

Lines changed: 0 additions & 3 deletions
This file was deleted.

attributes/resource.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,9 @@ func Exists(resource map[string]interface{}, key string) bool {
190190

191191
// validKey checks whether there is another case insensitive key with the same value.
192192
// i.e. ("x", "X") -> false
193-
// ("x", "x") -> true
194-
// ("x", "y") -> true
193+
//
194+
// ("x", "x") -> true
195+
// ("x", "y") -> true
195196
func validKey(resource map[string]interface{}, key string) error {
196197
for k := range resource {
197198
if strings.EqualFold(k, key) && k != key {

attributes/safe/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package safe
22

3-
import "github.com/scim2/tools/attributes"
3+
import "github.com/memsql/scimtools/attributes"
44

55
// GetBool searches the given map for a boolean that matches the given id.
66
// Returns false if not found.

attributes/util_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package attributes_test
22

33
import (
44
"fmt"
5-
"github.com/scim2/tools/attributes"
5+
"github.com/memsql/scimtools/attributes"
66
)
77

88
func ExampleContains() {

fuzz/fuzz.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"time"
99

1010
"github.com/google/gofuzz"
11-
"github.com/scim2/tools/schema"
11+
"github.com/memsql/scimtools/schema"
1212
)
1313

1414
type Fuzzer struct {

fuzz/go.mod

Lines changed: 0 additions & 8 deletions
This file was deleted.

fuzz/go.sum

Lines changed: 0 additions & 4 deletions
This file was deleted.

fuzz/resource_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package fuzz
33
import (
44
"testing"
55

6-
"github.com/scim2/tools/schema"
6+
"github.com/memsql/scimtools/schema"
77
)
88

99
func TestReferenceSchemaNeverEmpty(t *testing.T) {

generate/go.mod

Lines changed: 0 additions & 5 deletions
This file was deleted.

generate/go.sum

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)