From 0274ab0038b2c27ab61ec03602fb6b7355d40cd3 Mon Sep 17 00:00:00 2001 From: Maximilien Richer Date: Sun, 2 Feb 2020 12:09:35 +0100 Subject: Implements go modules Following errors compiling with go 1.13 See https://blog.golang.org/migrating-to-go-modules for details. --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index f9aef52..39927bb 100644 --- a/main.go +++ b/main.go @@ -16,10 +16,10 @@ import ( "os/signal" "syscall" - ldap "./ldapserver" + ldap "git.luxeylab.net/lx/bottin/ldapserver" consul "github.com/hashicorp/consul/api" - message "github.com/vjeantet/goldap/message" log "github.com/sirupsen/logrus" + message "github.com/vjeantet/goldap/message" ) const ATTR_USERPASSWORD = "userpassword" @@ -40,7 +40,7 @@ type ConfigFile struct { TLSCertFile string `json:"tls_cert_file"` TLSKeyFile string `json:"tls_key_file"` TLSServerName string `json:"tls_server_name"` - LogLevel string `json:"log_level"` + LogLevel string `json:"log_level"` } type Config struct { -- cgit v1.2.3 From 3644fdfe61f1c7f9545f57f66405e0afa4c0194c Mon Sep 17 00:00:00 2001 From: Maximilien Richer Date: Sun, 2 Feb 2020 14:32:37 +0100 Subject: Rename go module to bottin --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 39927bb..e29b282 100644 --- a/main.go +++ b/main.go @@ -16,7 +16,8 @@ import ( "os/signal" "syscall" - ldap "git.luxeylab.net/lx/bottin/ldapserver" + ldap "bottin/ldapserver" + consul "github.com/hashicorp/consul/api" log "github.com/sirupsen/logrus" message "github.com/vjeantet/goldap/message" -- cgit v1.2.3 From a6faceb5590e233b474bc65a55e2992afdefd07b Mon Sep 17 00:00:00 2001 From: Maximilien Richer Date: Sun, 2 Feb 2020 14:47:16 +0100 Subject: Import upstream lor00x/goldap reposity --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index e29b282..7939733 100644 --- a/main.go +++ b/main.go @@ -19,8 +19,8 @@ import ( ldap "bottin/ldapserver" consul "github.com/hashicorp/consul/api" + message "github.com/lor00x/goldap/message" log "github.com/sirupsen/logrus" - message "github.com/vjeantet/goldap/message" ) const ATTR_USERPASSWORD = "userpassword" -- cgit v1.2.3