File tree 24 files changed +29
-27
lines changed
24 files changed +29
-27
lines changed Original file line number Diff line number Diff line change 13
13
- tip
14
14
15
15
git :
16
- depth : 1
16
+ depth : 1
17
17
18
18
matrix :
19
19
fast_finish : true
20
20
allow_failures :
21
21
- go : tip
22
- go_import_path : gopkg.in/ ldap.v3
22
+ go_import_path : github.com/go- ldap/ldap
23
23
install :
24
- - go get gopkg.in/ asn1-ber.v1
24
+ - go get github.com/go- asn1-ber/asn1-ber
25
25
- go get code.google.com/p/go.tools/cmd/cover || go get golang.org/x/tools/cmd/cover
26
26
- go get github.com/golang/lint/golint || go get golang.org/x/lint/golint || true
27
27
- go build -v ./...
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Import the latest version with:
15
15
16
16
## Required Libraries:
17
17
18
- - gopkg.in/ asn1-ber.v1
18
+ - github.com/go- asn1-ber/asn1-ber
19
19
20
20
## Features:
21
21
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ package ldap
12
12
import (
13
13
"log"
14
14
15
- ber "gopkg.in/ asn1-ber.v1 "
15
+ ber "github.com/go- asn1-ber/asn1-ber "
16
16
)
17
17
18
18
// Attribute represents an LDAP attribute
Original file line number Diff line number Diff line change 4
4
"errors"
5
5
"fmt"
6
6
7
- ber "gopkg.in/ asn1-ber.v1 "
7
+ ber "github.com/go- asn1-ber/asn1-ber "
8
8
)
9
9
10
10
// SimpleBindRequest represents a username/password bind operation
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ package ldap
22
22
import (
23
23
"fmt"
24
24
25
- ber "gopkg.in/ asn1-ber.v1 "
25
+ ber "github.com/go- asn1-ber/asn1-ber "
26
26
)
27
27
28
28
// CompareRequest represents an LDAP CompareRequest operation.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
11
11
"sync/atomic"
12
12
"time"
13
13
14
- ber "gopkg.in/ asn1-ber.v1 "
14
+ ber "github.com/go- asn1-ber/asn1-ber "
15
15
)
16
16
17
17
const (
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
12
12
"testing"
13
13
"time"
14
14
15
- "gopkg.in/ asn1-ber.v1 "
15
+ "github.com/go- asn1-ber/asn1-ber "
16
16
)
17
17
18
18
func TestUnresponsiveConnection (t * testing.T ) {
Original file line number Diff line number Diff line change 4
4
"fmt"
5
5
"strconv"
6
6
7
- "gopkg.in/ asn1-ber.v1 "
7
+ "github.com/go- asn1-ber/asn1-ber "
8
8
)
9
9
10
10
const (
Original file line number Diff line number Diff line change 7
7
"runtime"
8
8
"testing"
9
9
10
- ber "gopkg.in/ asn1-ber.v1 "
10
+ ber "github.com/go- asn1-ber/asn1-ber "
11
11
)
12
12
13
13
func TestControlPaging (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package ldap
3
3
import (
4
4
"log"
5
5
6
- ber "gopkg.in/ asn1-ber.v1 "
6
+ ber "github.com/go- asn1-ber/asn1-ber "
7
7
)
8
8
9
9
// debugging type
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ package ldap
8
8
import (
9
9
"log"
10
10
11
- ber "gopkg.in/ asn1-ber.v1 "
11
+ ber "github.com/go- asn1-ber/asn1-ber "
12
12
)
13
13
14
14
// DelRequest implements an LDAP deletion request
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ import (
48
48
"fmt"
49
49
"strings"
50
50
51
- "gopkg.in/ asn1-ber.v1 "
51
+ "github.com/go- asn1-ber/asn1-ber "
52
52
)
53
53
54
54
// AttributeTypeAndValue represents an attributeTypeAndValue from https://tools.ietf.org/html/rfc4514
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package ldap
3
3
import (
4
4
"fmt"
5
5
6
- ber "gopkg.in/ asn1-ber.v1 "
6
+ ber "github.com/go- asn1-ber/asn1-ber "
7
7
)
8
8
9
9
// LDAP Result Codes
Original file line number Diff line number Diff line change 7
7
"testing"
8
8
"time"
9
9
10
- "gopkg.in/ asn1-ber.v1 "
10
+ "github.com/go- asn1-ber/asn1-ber "
11
11
)
12
12
13
13
// TestNilPacket tests that nil packets don't cause a panic.
Original file line number Diff line number Diff line change 8
8
"strings"
9
9
"unicode/utf8"
10
10
11
- "gopkg.in/ asn1-ber.v1 "
11
+ "github.com/go- asn1-ber/asn1-ber "
12
12
)
13
13
14
14
// Filter choices
Original file line number Diff line number Diff line change 4
4
"strings"
5
5
"testing"
6
6
7
- "gopkg.in/ asn1-ber.v1 "
7
+ "github.com/go- asn1-ber/asn1-ber "
8
8
)
9
9
10
10
type compileTest struct {
Original file line number Diff line number Diff line change 1
1
module github.com/go-ldap/ldap
2
2
3
- require gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d
3
+ require github.com/go-asn1-ber/asn1-ber v1.3.1
4
+
5
+ go 1.13
Original file line number Diff line number Diff line change 1
- gopkg.in/ asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d h1:TxyelI5cVkbREznMhfzycHdkp5cLA7DpE+GKjSslYhM =
2
- gopkg.in/ asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d /go.mod h1:cuepJuh7vyXfUyUwEgHQXw849cJrilpS5NeIjOWESAw =
1
+ github.com/go- asn1-ber/asn1-ber v1.3.1 h1:gvPdv/Hr++TRFCl0UbPFHC54P9N9jgsRPnmnr419Uck =
2
+ github.com/go- asn1-ber/asn1-ber v1.3.1 /go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0 =
Original file line number Diff line number Diff line change 5
5
"io/ioutil"
6
6
"os"
7
7
8
- ber "gopkg.in/ asn1-ber.v1 "
8
+ ber "github.com/go- asn1-ber/asn1-ber "
9
9
)
10
10
11
11
// LDAP Application Codes
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ package ldap
13
13
import (
14
14
"log"
15
15
16
- ber "gopkg.in/ asn1-ber.v1 "
16
+ ber "github.com/go- asn1-ber/asn1-ber "
17
17
)
18
18
19
19
// ModifyDNRequest holds the request to modify a DN
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ package ldap
28
28
import (
29
29
"log"
30
30
31
- ber "gopkg.in/ asn1-ber.v1 "
31
+ ber "github.com/go- asn1-ber/asn1-ber "
32
32
)
33
33
34
34
// Change operation choices
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ package ldap
8
8
import (
9
9
"fmt"
10
10
11
- ber "gopkg.in/ asn1-ber.v1 "
11
+ ber "github.com/go- asn1-ber/asn1-ber "
12
12
)
13
13
14
14
const (
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package ldap
3
3
import (
4
4
"errors"
5
5
6
- ber "gopkg.in/ asn1-ber.v1 "
6
+ ber "github.com/go- asn1-ber/asn1-ber "
7
7
)
8
8
9
9
var (
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ import (
61
61
"sort"
62
62
"strings"
63
63
64
- ber "gopkg.in/ asn1-ber.v1 "
64
+ ber "github.com/go- asn1-ber/asn1-ber "
65
65
)
66
66
67
67
// scope choices
You can’t perform that action at this time.
0 commit comments