// addPrivItem inserts a priv DB entry
addPrivItem inserts a priv DB entry
// addPrivItem inserts a priv DB entry
func addPrivItem(db *sql.DB, name string) error {
	sql_addPrivItem := `INSERT INTO privileges (
		name,
		privileges
	) VALUES (
		?,
		""
	);
	`
	stmt, err := db.Prepare(sql_addPrivItem)
	if err != nil {
		return err
	}
	defer stmt.Close()
	_, err = stmt.Exec(name)
	if err != nil {
		return err
	}
	return nil
}
func addPrivItem ( db * sql . DB , name string ) error { sql_addPrivItem := `INSERT INTO privileges (
		name,
		privileges
	) VALUES (
		?,
		""
	);
	` stmt , err := db . Prepare ( sql_addPrivItem ) if err != nil { return err } defer stmt . Close ( ) _ , err = stmt . Exec ( name ) if err != nil { return err } return nil }
addPrivItem inserts a priv DB entry
addPrivItem inserts a priv DB entry