diff options
Diffstat (limited to 'vendor/github.com/sid77/drop')
-rw-r--r-- | vendor/github.com/sid77/drop/README.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vendor/github.com/sid77/drop/README.md b/vendor/github.com/sid77/drop/README.md index b27fc1a..3bea83c 100644 --- a/vendor/github.com/sid77/drop/README.md +++ b/vendor/github.com/sid77/drop/README.md @@ -1,12 +1,15 @@ # drop -An easy way for dropping privileges in Go. Just import `github.com/sid77/drop` and use: +An easy way for dropping privileges in Go. + ``` +import "github.com/sid77/drop" + // privileged code here // ... -if err := DropPrivileges("some user"); err != nil { +if err := drop.DropPrivileges("some user"); err != nil { log.Fatal(err) } |