aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorMaximilien Richer <me@mricher.fr>2020-02-02 12:09:35 +0100
committerMaximilien Richer <me@mricher.fr>2020-02-02 12:10:02 +0100
commit0274ab0038b2c27ab61ec03602fb6b7355d40cd3 (patch)
tree89c2d57612cadd5eb3c622eb4a890d228478809f /main.go
parent8de94a32a8530926dcddcad9e98fb213dc799ce3 (diff)
downloadbottin-0274ab0038b2c27ab61ec03602fb6b7355d40cd3.tar.gz
bottin-0274ab0038b2c27ab61ec03602fb6b7355d40cd3.zip
Implements go modules
Following errors compiling with go 1.13 See https://blog.golang.org/migrating-to-go-modules for details.
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
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 {