diff --git a/modules/ldap/examples/enterprise.ldif b/modules/ldap/_examples/enterprise.ldif similarity index 100% rename from modules/ldap/examples/enterprise.ldif rename to modules/ldap/_examples/enterprise.ldif diff --git a/modules/ldap/examples/modify.go b/modules/ldap/_examples/modify.go similarity index 98% rename from modules/ldap/examples/modify.go rename to modules/ldap/_examples/modify.go index 177fe8da..cd6dfc9e 100644 --- a/modules/ldap/examples/modify.go +++ b/modules/ldap/_examples/modify.go @@ -9,7 +9,7 @@ import ( "fmt" "log" - "github.com/juju2013/goldap" + "github.com/gogits/gogs/modules/ldap" ) var ( diff --git a/modules/ldap/examples/search.go b/modules/ldap/_examples/search.go similarity index 96% rename from modules/ldap/examples/search.go rename to modules/ldap/_examples/search.go index 59a0333d..609256f4 100644 --- a/modules/ldap/examples/search.go +++ b/modules/ldap/_examples/search.go @@ -8,7 +8,7 @@ import ( "fmt" "log" - "github.com/juju2013/goldap" + "github.com/gogits/gogs/modules/ldap" ) var ( diff --git a/modules/ldap/examples/searchSSL.go b/modules/ldap/_examples/searchSSL.go similarity index 95% rename from modules/ldap/examples/searchSSL.go rename to modules/ldap/_examples/searchSSL.go index a98ca3a4..aa9cbcc1 100644 --- a/modules/ldap/examples/searchSSL.go +++ b/modules/ldap/_examples/searchSSL.go @@ -8,7 +8,7 @@ import ( "fmt" "log" - "github.com/juju2013/goldap" + "github.com/gogits/gogs/modules/ldap" ) var ( diff --git a/modules/ldap/examples/searchTLS.go b/modules/ldap/_examples/searchTLS.go similarity index 95% rename from modules/ldap/examples/searchTLS.go rename to modules/ldap/_examples/searchTLS.go index a20bcc32..c771a8ed 100644 --- a/modules/ldap/examples/searchTLS.go +++ b/modules/ldap/_examples/searchTLS.go @@ -8,7 +8,7 @@ import ( "fmt" "log" - "github.com/juju2013/goldap" + "github.com/gogits/gogs/modules/ldap" ) var ( diff --git a/modules/ldap/examples/slapd.conf b/modules/ldap/_examples/slapd.conf similarity index 100% rename from modules/ldap/examples/slapd.conf rename to modules/ldap/_examples/slapd.conf diff --git a/modules/ldap/filter_test.go b/modules/ldap/filter_test.go index 9e831959..761ff42f 100644 --- a/modules/ldap/filter_test.go +++ b/modules/ldap/filter_test.go @@ -3,7 +3,7 @@ package ldap import ( "testing" - "github.com/johnweldon/asn1-ber" + "github.com/gogits/gogs/modules/asn1-ber" ) type compileTest struct { diff --git a/modules/mahonia/mahoniconv/mahoniconv.go b/modules/mahonia/mahoniconv/mahoniconv.go index 0242a6f5..18ccc1e6 100644 --- a/modules/mahonia/mahoniconv/mahoniconv.go +++ b/modules/mahonia/mahoniconv/mahoniconv.go @@ -1,11 +1,12 @@ package main import ( - "code.google.com/p/mahonia" "flag" "io" "log" "os" + + "github.com/gogits/gogs/modules/mahonia" ) // An iconv workalike using mahonia.