sudoblock

package module
v0.0.0-...-6f40752 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2015 License: MIT Imports: 5 Imported by: 0

README

gosudoblock

Godoc

Block users from running your app with root permissions

How to install
go get github.com/shamsher31/gosudoblock
How to use
package main

import (
  "fmt"
  "github.com/shamsher31/gosudoblock"
)

func main() {
   sudoblock.Is()
   // ✖ You are not allowed to run this app with root permissions
}

goisroot
gosymbol
chalk

Why

This package is inspired by sudo-block npm module.

License

MIT © Shamsher Ansari

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL