diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-09-08 22:09:45 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-09-08 22:09:45 -0400 |
commit | 549843228517e1d72840e18caf369d211623dddb (patch) | |
tree | debbec28d54a95cc4ce8062e1db55954e2edf8c2 /nslcd_systemd | |
parent | 79229a92c3836ee70f238c3f8906abf91e4e46f6 (diff) |
nslcd_systemd: add `import "os"` to the example in the docs
Diffstat (limited to 'nslcd_systemd')
-rw-r--r-- | nslcd_systemd/nslcd_systemd.go | 10 |
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" |