summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-09-08 22:09:45 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-09-08 22:09:45 -0400
commit549843228517e1d72840e18caf369d211623dddb (patch)
treedebbec28d54a95cc4ce8062e1db55954e2edf8c2
parent79229a92c3836ee70f238c3f8906abf91e4e46f6 (diff)
nslcd_systemd: add `import "os"` to the example in the docs
-rw-r--r--nslcd_systemd/nslcd_systemd.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/nslcd_systemd/nslcd_systemd.go b/nslcd_systemd/nslcd_systemd.go
index 8bae046..e920aab 100644
--- a/nslcd_systemd/nslcd_systemd.go
+++ b/nslcd_systemd/nslcd_systemd.go
@@ -24,14 +24,16 @@
//
// package main
//
-// import (
+// import (
+// "os"
+//
// "git.lukeshu.com/go/libnslcd/nslcd_server"
-// "git.lukeshu.com/go/libnslcd/nslcd_systemd"
-// )
+// "git.lukeshu.com/go/libnslcd/nslcd_systemd"
+// )
//
// func main() {
// backend := ...
-// limits := nslcd_server.Limits{ ... }
+// limits := nslcd_server.Limits{ ... }
// os.Exit(int(nslcd_systemd.Main(backend, limits)))
// }
package nslcd_systemd // import "git.lukeshu.com/go/libnslcd/nslcd_systemd"