default.go
func (r *Password) Scan(raw interface{}) error {
	switch v := raw.(type) {
	case []byte:
		*r = Password(string(v))
	case string:
		*r = Password(v)
	default:
		return fmt.Errorf("cannot sql.Scan() strfmt.Password from: %#v", v)
	}

	return nil
}
func (r *Password) Scan(raw interface{}) error {
	switch v := raw.(type) {
	case []byte:
		*r = Password(string(v))
	case string:
		*r = Password(v)
	default:
		return fmt.Errorf("cannot sql.Scan() strfmt.Password from: %#v", v)
	}

	return nil
}
func ( r * Password ) Scan ( raw interface { } ) error { switch v := raw . ( type ) { case [ ] byte : * r = Password ( string ( v ) ) case string : * r = Password ( v ) default : return fmt . Errorf ( " " , v ) } return nil }
// Scan read a value from a database driver
Scan read a value from a database driver