// modAuthItem updates an auth DB entry
modAuthItem updates an auth DB entry
// modAuthItem updates an auth DB entry
func modAuthItem(db *sql.DB, name, password string) error {
	sql_modAuthItem := `UPDATE auth SET password = ? WHERE name = ?;`
	stmt, err := db.Prepare(sql_modAuthItem)
	if err != nil {
		return err
	}
	defer stmt.Close()
	_, err = stmt.Exec(password, name)
	if err != nil {
		return err
	}
	return nil
}
func modAuthItem ( db * sql . DB , name , password string ) error { sql_modAuthItem := `UPDATE auth SET password = ? WHERE name = ?;` stmt , err := db . Prepare ( sql_modAuthItem ) if err != nil { return err } defer stmt . Close ( ) _ , err = stmt . Exec ( password , name ) if err != nil { return err } return nil }
modAuthItem updates an auth DB entry
modAuthItem updates an auth DB entry