diff options
author | Maximilien Richer <me@mricher.fr> | 2020-02-02 12:09:35 +0100 |
---|---|---|
committer | Maximilien Richer <me@mricher.fr> | 2020-02-02 12:10:02 +0100 |
commit | 0274ab0038b2c27ab61ec03602fb6b7355d40cd3 (patch) | |
tree | 89c2d57612cadd5eb3c622eb4a890d228478809f /main.go | |
parent | 8de94a32a8530926dcddcad9e98fb213dc799ce3 (diff) | |
download | bottin-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.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 { |