summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-02-04 17:28:26 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-02-04 17:31:08 -0500
commit1f6e4816f1984a35716e406e1779c33a8e20fd65 (patch)
tree8b6edbe3902e392b3146e06948acbe43bcfb2dc7
parentd6e5cd6b00f598500b59f7d204d5e4c9d1c39573 (diff)
gofmt
-rw-r--r--go/src/nshd/main.go.in1
-rw-r--r--go/src/nshd/nslcd_backend/db_passwd.go3
-rw-r--r--go/src/nshd/nslcd_backend/util.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/go/src/nshd/main.go.in b/go/src/nshd/main.go.in
index 5564128..17e65ca 100644
--- a/go/src/nshd/main.go.in
+++ b/go/src/nshd/main.go.in
@@ -20,6 +20,7 @@ package main
import (
"os"
+
"nshd/nslcd_backend"
"git.lukeshu.com/go/libnslcd/nslcd_systemd"
diff --git a/go/src/nshd/nslcd_backend/db_passwd.go b/go/src/nshd/nslcd_backend/db_passwd.go
index ace127e..535c7e1 100644
--- a/go/src/nshd/nslcd_backend/db_passwd.go
+++ b/go/src/nshd/nslcd_backend/db_passwd.go
@@ -32,8 +32,7 @@ import (
A "!" prefix on a password hash "locks" the account; therefore a a
hash of "!" says "no login"; while a hash of "x" says "you may log
in", but fails to authorize; passing the buck to the next database.
-
- */
+*/
func (o *Hackers) Passwd_ByName(cred s.Ucred, req p.Request_Passwd_ByName) <-chan p.Passwd {
o.lock.RLock()
diff --git a/go/src/nshd/nslcd_backend/util.go b/go/src/nshd/nslcd_backend/util.go
index aa29b03..12c1db5 100644
--- a/go/src/nshd/nslcd_backend/util.go
+++ b/go/src/nshd/nslcd_backend/util.go
@@ -20,8 +20,8 @@ import (
"io/ioutil"
"os"
- yaml "gopkg.in/yaml.v2"
"git.lukeshu.com/go/libgnulinux/getgr"
+ yaml "gopkg.in/yaml.v2"
)
func name2gid(name string) int32 {