Skip to content

Commit

Permalink
use lor00x/goldap instead of vjeantet/goldap
Browse files Browse the repository at this point in the history
add go mod
  • Loading branch information
vjeantet committed Apr 23, 2020
1 parent 479fece commit 871b022
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sync"
"time"

ldap "github.com/vjeantet/goldap/message"
ldap "github.com/lor00x/goldap/message"
)

type client struct {
Expand Down
2 changes: 1 addition & 1 deletion constants.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package ldapserver

import ldap "github.com/vjeantet/goldap/message"
import ldap "github.com/lor00x/goldap/message"

// LDAP Application Codes
const (
Expand Down
5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module github.com/vjeantet/ldapserver

go 1.14

require github.com/lor00x/goldap v0.0.0-20180618054307-a546dffdd1a3
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/lor00x/goldap v0.0.0-20180618054307-a546dffdd1a3 h1:wIONC+HMNRqmWBjuMxhatuSzHaljStc4gjDeKycxy0A=
github.com/lor00x/goldap v0.0.0-20180618054307-a546dffdd1a3/go.mod h1:37YR9jabpiIxsb8X9VCIx8qFOjTDIIrIHHODa8C4gz0=
2 changes: 1 addition & 1 deletion message.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ldapserver
import (
"fmt"

ldap "github.com/vjeantet/goldap/message"
ldap "github.com/lor00x/goldap/message"
)

type Message struct {
Expand Down
2 changes: 1 addition & 1 deletion packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"
"fmt"

ldap "github.com/vjeantet/goldap/message"
ldap "github.com/lor00x/goldap/message"
)

type messagePacket struct {
Expand Down
2 changes: 1 addition & 1 deletion responsemessage.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package ldapserver

import ldap "github.com/vjeantet/goldap/message"
import ldap "github.com/lor00x/goldap/message"

func NewBindResponse(resultCode int) ldap.BindResponse {
r := ldap.BindResponse{}
Expand Down
2 changes: 1 addition & 1 deletion route.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ldapserver
import (
"strings"

ldap "github.com/vjeantet/goldap/message"
ldap "github.com/lor00x/goldap/message"
)

// Constant to LDAP Request protocol Type names
Expand Down

0 comments on commit 871b022

Please sign in to comment.