// addAuthItem inserts an auth DB entry
addAuthItem inserts an auth DB entry
// addAuthItem inserts an auth DB entry
func addAuthItem(db *sql.DB, name, password string) error {
	sql_addAuthItem := `INSERT INTO auth (
		name,
		password
	) VALUES (
		?,
		?
	);
	`
	stmt, err := db.Prepare(sql_addAuthItem)
	if err != nil {
		return err
	}
	defer stmt.Close()
	_, err = stmt.Exec(name, password)
	if err != nil {
		return err
	}
	return nil
}
func addAuthItem ( db * sql . DB , name , password string ) error { sql_addAuthItem := `INSERT INTO auth (
		name,
		password
	) VALUES (
		?,
		?
	);
	` stmt , err := db . Prepare ( sql_addAuthItem ) if err != nil { return err } defer stmt . Close ( ) _ , err = stmt . Exec ( name , password ) if err != nil { return err } return nil }
addAuthItem inserts an auth DB entry
addAuthItem inserts an auth DB entry