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

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

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