func (hideid ID) Value() (driver.Value, error) {
	if hideid == 0 {
		return nil, nil
	}
	return int64(hideid), nil
}
Value implements the driver Valuer interface.
package hide
import (
	"database/sql/driver"
	"encoding/json"
	"errors"
	"strings"
)
type ID int64
func (hideid *ID) Scan(value interface{}) error {
	if value == nil {
		*hideid = 0
		return nil
	}
	id, ok := value.(int64)
	if !ok {
		return errors.New("unexpected type")
	}
	*hideid = ID(id)
	return nil
}