Migrate to built-in Go vendoring.

This also removes `godep` calls from make scripts. Of note is that
currently `./...` checking in acceptance tests is disabled.
This commit is contained in:
Jeff Mitchell
2016-02-18 14:19:02 -05:00
parent ba9c0dced1
commit 757dca2e2c
1633 changed files with 6763 additions and 13796 deletions

24
vendor/github.com/go-ldap/ldap/debug.go generated vendored Normal file
View File

@@ -0,0 +1,24 @@
package ldap
import (
"log"
"gopkg.in/asn1-ber.v1"
)
// debbuging type
// - has a Printf method to write the debug output
type debugging bool
// write debug output
func (debug debugging) Printf(format string, args ...interface{}) {
if debug {
log.Printf(format, args...)
}
}
func (debug debugging) PrintPacket(packet *ber.Packet) {
if debug {
ber.PrintPacket(packet)
}
}