func (*Message) scanValues(columns []string) ([]interface{}, error) {
	values := make([]interface{}, len(columns))
	for i := range columns {
		switch columns[i] {
		case message.FieldID:
			values[i] = new(sql.NullInt64)
		default:
			return nil, fmt.Errorf("unexpected column %q for type Message", columns[i])
		}
	}
	return values, nil
}
scanValues returns the types for scanning values from sql.Rows.
package ent
import (
	"fmt"
	"strings"
	"entgo.io/contrib/schemast/internal/loadtest/ent/message"
	"entgo.io/ent/dialect/sql"
)
type Message struct {
	config
	ID int `json:"id,omitempty"`
}