code: func New(devPath string) (*KeyLogger, error) {
  	k := &KeyLogger{}
  	if !k.IsRoot() {
  		return nil, errors.New("Must be run as root")
  	}
  	fd, err := os.Open(devPath)
  	k.fd = fd
  	return k, err
  }
docs: // New creates a new keylogger for a device path